MDL-25476 messages: switched some notification emails to come from the support contact instead of admin

This commit is contained in:
Andrew Davis
2012-07-02 15:41:29 +08:00
committed by Dan Poltawski
parent c7132d7c93
commit 6737eda426
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -709,7 +709,7 @@ function notify_login_failures() {
mtrace('Emailing admins about '. $count .' failed login attempts');
foreach ($recip as $admin) {
//emailing the admins directly rather than putting these through the messaging system
email_to_user($admin,get_admin(), $subject, $body);
email_to_user($admin, generate_email_supportuser(), $subject, $body);
}
}