Skip to content

Commit 5b54692

Browse files
committed
fix: remove empy filesize from issues
1 parent b4ff204 commit 5b54692

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/LogHandler.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ public function get_file_issues()
9191
return "The file ({$this->settings['file_path']}) was not found. " .
9292
'You can specify a different file/location in the settings (check readme.md).';
9393
}
94-
if (0 == $this->get_size()) {
95-
return 'Your log file is empty.';
96-
}
9794
$mbs = $this->get_size() / 1024 / 1024; // in MB.
9895
if ($mbs > 100) {
9996
if (! isset($_GET['ignore'])) {

0 commit comments

Comments
 (0)