Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a43994
)
MDL-21068 do not show admin usernames in cron logs
author
Petr Skoda
<skodak@moodle.org>
Thu, 18 Mar 2010 22:00:09 +0000
(22:00 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Thu, 18 Mar 2010 22:00:09 +0000
(22:00 +0000)
lib/moodlelib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/moodlelib.php
b/lib/moodlelib.php
index
abd25d9
..
e97f4f4
100644
(file)
--- a/
lib/moodlelib.php
+++ b/
lib/moodlelib.php
@@
-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);
}