Skip to content
Snippets Groups Projects
Commit 75c3d472 authored by Till Brehm's avatar Till Brehm
Browse files

Add warning message to log file when backup fails.

parent 55ad2819
No related branches found
No related tags found
No related merge requests found
...@@ -142,6 +142,7 @@ class cronjob_backup extends cronjob { ...@@ -142,6 +142,7 @@ class cronjob_backup extends cronjob {
} }
} else { } else {
if(is_file($web_backup_dir.'/'.$web_backup_file)) unlink($web_backup_dir.'/'.$web_backup_file); if(is_file($web_backup_dir.'/'.$web_backup_file)) unlink($web_backup_dir.'/'.$web_backup_file);
$app->log('Backup of '.$web_path.' failed.', LOGLEVEL_WARN);
} }
//* Remove old backups //* Remove old backups
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment