Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-21068 do not show admin usernames in cron logs

  • Loading branch information...
commit e92e4b8ab0ad9f1c8c89c4de0fc02190fa196410 1 parent 31eb0fd
Petr Skoda skodak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/moodlelib.php
2  lib/moodlelib.php
View
@@ -6705,8 +6705,8 @@ function notify_login_failures() {
"\n\n".get_string('notifyloginfailuresmessageend','',$CFG->wwwroot)."\n\n";
/// For each destination, send mail
+ mtrace('Emailing admins about '. $count .' failed login attempts');
foreach ($recip as $admin) {
- mtrace('Emailing '. $admin->username .' about '. $count .' failed login attempts');
email_to_user($admin,get_admin(), $subject, $body);
}
Please sign in to comment.
Something went wrong with that request. Please try again.