Fix link in email to new admin report. MDL-7850

This commit is contained in:
stronk7
2007-09-08 22:48:23 +00:00
parent b533156097
commit 347f90e704
+2 -2
View File
@@ -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