From 7b2f569591ed4203e92af9575ebbd39e6e8758d8 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 31 May 2014 13:47:40 +0200 Subject: [PATCH] No iterator here. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/classes/main/file_directories/class_BaseFile.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/classes/main/file_directories/class_BaseFile.php b/inc/classes/main/file_directories/class_BaseFile.php index 7d07de9a..a625624e 100644 --- a/inc/classes/main/file_directories/class_BaseFile.php +++ b/inc/classes/main/file_directories/class_BaseFile.php @@ -277,7 +277,7 @@ y * @return void //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] CALLED!', __METHOD__, __LINE__)); // Get key (= seek position) - $seekPosition = $this->getIteratorInstance()->key(); + $seekPosition = $this->key(); //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] Setting seekPosition=%s', __METHOD__, __LINE__, $seekPosition)); // And set it here @@ -299,7 +299,7 @@ y * @return void assert(is_callable(array($this, 'flushFileHeader'))); // Seek to beginning of file - $this->getIteratorInstance()->rewind(); + $this->rewind(); // And update seek position ... $this->updateSeekPosition(); @@ -319,7 +319,7 @@ y * @return void //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] CALLED!', __METHOD__, __LINE__)); // Seek to currently ("old") saved position - $this->getIteratorInstance()->seek($this->getSeekPosition()); + $this->seek($this->getSeekPosition()); //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] EXIT!!', __METHOD__, __LINE__)); } -- 2.39.5