Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-07-13 00:45:34 +00:00 committed by StyleCI Bot
parent 384039eea7
commit 0820d61545

View File

@ -68,7 +68,6 @@ class Logger
$this->optional = Absolute::absolute(getcwd().'/MadelineProto.log');
}
if ($mode === 2 && $max_size !== -1 && file_exists($this->optional) && filesize($this->optional) > $max_size) {
unlink($this->optional);
}