Skip to content

Commit

Permalink
Remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
sleemy1997 committed Oct 2, 2018
1 parent ed3399f commit c2e8678
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion FileLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit c2e8678

Please sign in to comment.