From e82b841361753ca6222f3449136a3e7446eadabd Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 27 Dec 2003 04:08:04 +0000 Subject: [PATCH] Add the site's shortname to the email subject --- backup/backup_scheduled.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.5