From 051128b96741f9cd23282ba73b95b4657849272c Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Thu, 2 Oct 2014 13:55:52 +0200 Subject: [PATCH] Icinga\Protocol\File\FileReader: don't use Icinga\Util\Enumerate --- library/Icinga/Protocol/File/FileReader.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/library/Icinga/Protocol/File/FileReader.php b/library/Icinga/Protocol/File/FileReader.php index 2551489bf..49da989ef 100644 --- a/library/Icinga/Protocol/File/FileReader.php +++ b/library/Icinga/Protocol/File/FileReader.php @@ -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); } /**