MDL-48595 logstore: Replacing references to deprecated interfaces

This commit is contained in:
David Monllao 2015-02-23 16:18:51 +08:00
parent 1cfce08e63
commit 59aebbed70
19 changed files with 44 additions and 44 deletions

View file

@ -72,7 +72,7 @@ class send_failed_login_notifications_task extends scheduled_task {
// Get all the IPs with more than notifyloginthreshold failures since lastnotifyfailure
// and insert them into the cache_flags temp table.
$logmang = get_log_manager();
$readers = $logmang->get_readers('\core\log\sql_internal_reader');
$readers = $logmang->get_readers('\core\log\sql_internal_table_reader');
$reader = reset($readers);
$readername = key($readers);
if (empty($reader) || empty($readername)) {