Icinga\Protocol\File\FileReader: don't use Icinga\Util\Enumerate

This commit is contained in:
Alexander Klimov 2014-10-02 13:55:52 +02:00
parent e192b939c2
commit 051128b967
1 changed files with 1 additions and 4 deletions

View File

@ -6,7 +6,6 @@ namespace Icinga\Protocol\File;
use Icinga\Data\Selectable;
use Countable;
use Icinga\Util\Enumerate;
use Zend_Config;
/**
@ -53,9 +52,7 @@ class FileReader implements Selectable, Countable
*/
public function iterate()
{
return new Enumerate(
new FileIterator($this->filename, $this->fields)
);
return new FileIterator($this->filename, $this->fields);
}
/**