Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-21068 do not show admin usernames in cron logs

  • Loading branch information...
commit e92e4b8ab0ad9f1c8c89c4de0fc02190fa196410 1 parent 31eb0fd
Petr Skoda skodak authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/moodlelib.php
2  lib/moodlelib.php
@@ -6705,8 +6705,8 @@ function notify_login_failures() {
6705 6705 "\n\n".get_string('notifyloginfailuresmessageend','',$CFG->wwwroot)."\n\n";
6706 6706
6707 6707 /// For each destination, send mail
  6708 + mtrace('Emailing admins about '. $count .' failed login attempts');
6708 6709 foreach ($recip as $admin) {
6709   - mtrace('Emailing '. $admin->username .' about '. $count .' failed login attempts');
6710 6710 email_to_user($admin,get_admin(), $subject, $body);
6711 6711 }
6712 6712

0 comments on commit e92e4b8

Please sign in to comment.
Something went wrong with that request. Please try again.