From: Roland Haeder Date: Sat, 24 May 2014 13:50:34 +0000 (+0200) Subject: This call leads nowhere, so better call own method. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d4a9ba3bac64cc833de7b5af32bca2880b6cd542;p=core.git This call leads nowhere, so better call own method. Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/file_directories/class_BaseFile.php b/inc/classes/main/file_directories/class_BaseFile.php index d65bbd31..5fade9ba 100644 --- a/inc/classes/main/file_directories/class_BaseFile.php +++ b/inc/classes/main/file_directories/class_BaseFile.php @@ -208,7 +208,7 @@ y * @return void // Is the file initialized? if ($this->isFileInitialized()) { // Some bytes has been written, so rewind to start of it. - $rewindStatus = $this->getIteratorInstance()->rewind(); + $rewindStatus = $this->rewind(); //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] rewindStatus=%s', __METHOD__, __LINE__, $rewindStatus)); // Is the rewind() call successfull?