mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-48595 logstore: Replacing references to deprecated interfaces
This commit is contained in:
parent
1cfce08e63
commit
59aebbed70
19 changed files with 44 additions and 44 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue