Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-10-13 16:26:46 +00:00 committed by StyleCI Bot
parent 3cb24dc413
commit ca59f86b0f

View File

@ -72,7 +72,6 @@ class Logger
$this->optional .= '.log';
}
if ($mode === 2 && $max_size !== -1 && file_exists($this->optional) && filesize($this->optional) > $max_size) {
unlink($this->optional);
}