mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-14 17:34:28 +02:00
Icinga\Protocol\File\FileReader: don't use Icinga\Util\Enumerate
This commit is contained in:
parent
e192b939c2
commit
051128b967
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user