From c2e867873691b7b89b3e607be2378d5d612dd572 Mon Sep 17 00:00:00 2001 From: levani Date: Tue, 2 Oct 2018 12:42:46 +0400 Subject: [PATCH] Remove todo --- FileLogger.php | 1 - 1 file changed, 1 deletion(-) diff --git a/FileLogger.php b/FileLogger.php index 18a786b..9340adf 100644 --- a/FileLogger.php +++ b/FileLogger.php @@ -200,7 +200,6 @@ private function checkFileCreation() return $logFileName; } } elseif ($this->fileCreateType === self::FILE_CREATE_TYPE_BY_TIME) { - // TODO get first create date from file $lasElementInDir = count(scandir($this->logFilePath)); $lastModified = filemtime($logFilePath); $lastModifiedLogFileDate = strtotime(explode('_', scandir($this->logFilePath)[$lasElementInDir - 1])[0] . "+" . $this->fileReCreateDays . " day");