diff --git a/backup/backup_scheduled.php b/backup/backup_scheduled.php index 5bb9c5a36a2..089f4f49f80 100644 --- a/backup/backup_scheduled.php +++ b/backup/backup_scheduled.php @@ -177,7 +177,7 @@ function schedule_backup_cron() { //Reference if ($count_error != 0 || $count_unfinished != 0) { $message .= " ".get_string('backupfailed')."\n\n"; - $dest_url = $CFG->wwwroot.'/backup/log.php'; + $dest_url = $CFG->wwwroot.'/admin/report/backups/index.php'; $message .= " ".get_string('backuptakealook','',$dest_url)."\n\n"; //Set message priority $admin->priority = 1; @@ -192,7 +192,7 @@ function schedule_backup_cron() { $prefix = $site->shortname.": "; if ($count_error != 0 || $count_unfinished != 0) { $prefix .= "[".strtoupper(get_string('error'))."] "; - } + } $subject = $prefix.get_string("scheduledbackupstatus"); //Send the message