mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +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
|
@ -122,8 +122,8 @@ function report_stats_page_type_list($pagetype, $parentcontext, $currentcontext)
|
|||
* @return bool returns true if the store is supported by the report, false otherwise.
|
||||
*/
|
||||
function report_stats_supports_logstore($instance) {
|
||||
if ($instance instanceof \core\log\sql_internal_reader || $instance instanceof \logstore_legacy\log\store) {
|
||||
if ($instance instanceof \core\log\sql_internal_table_reader || $instance instanceof \logstore_legacy\log\store) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue