From: moodler Date: Sat, 27 Dec 2003 04:08:04 +0000 (+0000) Subject: Add the site's shortname to the email subject X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e82b841361753ca6222f3449136a3e7446eadabd;p=moodle.git Add the site's shortname to the email subject --- diff --git a/backup/backup_scheduled.php b/backup/backup_scheduled.php index 7223f129ee..13c1800e5a 100644 --- a/backup/backup_scheduled.php +++ b/backup/backup_scheduled.php @@ -117,7 +117,8 @@ function schedule_backup_cron() { } } //Send the message - email_to_user($admin,$admin,get_string("scheduledbackupstatus"),$message); + $site = get_site(); + email_to_user($admin,$admin,"$site->shortname: ".get_string("scheduledbackupstatus"),$message); }