Permalink
Browse files

Merge branch 'MDL-32985_integration_21' of git://github.com/merrill-o…

…akland/moodle into MOODLE_21_STABLE
  • Loading branch information...
2 parents 965481f + bfe1d30 commit 9987a9e0792474f1bd47d04bdb6803f9795fc9a1 @stronk7 stronk7 committed Jun 7, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/moodlelib.php
View
@@ -8252,11 +8252,11 @@ function notify_login_failures() {
//emailing the admins directly rather than putting these through the messaging system
email_to_user($admin,get_admin(), $subject, $body);
}
-
- /// Update lastnotifyfailure with current time
- set_config('lastnotifyfailure', time());
}
+ // Update lastnotifyfailure with current time.
+ set_config('lastnotifyfailure', time());
+
/// Finally, delete all the temp records we have created in cache_flags
$DB->delete_records_select('cache_flags', "flagtype IN ('login_failure_by_ip', 'login_failure_by_info')");

0 comments on commit 9987a9e

Please sign in to comment.