diff options
Diffstat (limited to 'core/CliMulti.php')
-rw-r--r-- | core/CliMulti.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/CliMulti.php b/core/CliMulti.php index 6de96af5b0..e69dbf9005 100644 --- a/core/CliMulti.php +++ b/core/CliMulti.php @@ -204,9 +204,9 @@ class CliMulti { } foreach ($files as $file) { - $timeLastModified = filemtime($file); + $timeLastModified = @filemtime($file); - if ($timeOneWeekAgo > $timeLastModified) { + if ($timeLastModified !== FALSE && $timeOneWeekAgo > $timeLastModified) { unlink($file); } } |