]> git.mjollnir.org Git - moodle.git/commitdiff
Add the site's shortname to the email subject
authormoodler <moodler>
Sat, 27 Dec 2003 04:08:04 +0000 (04:08 +0000)
committermoodler <moodler>
Sat, 27 Dec 2003 04:08:04 +0000 (04:08 +0000)
backup/backup_scheduled.php

index 7223f129eee3fd7bca483993a223c45d27ca931e..13c1800e5a4ab7c1f6196e949769a7facc4c1851 100644 (file)
@@ -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);
     }