mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-21068 do not show admin usernames in cron logs
This commit is contained in:
parent
9a439947c3
commit
9707279af6
1 changed files with 1 additions and 1 deletions
|
@ -7487,8 +7487,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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue