Skip to content

Commit

Permalink
MDL-21068 do not show admin usernames in cron logs
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Mar 18, 2010
1 parent 31eb0fd commit e92e4b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/moodlelib.php
Expand Up @@ -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);
}

Expand Down

0 comments on commit e92e4b8

Please sign in to comment.