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

@ -48,7 +48,7 @@ function report_log_extend_navigation_course($navigation, $course, $context) {
* @return bool returns true if the store is supported by the report, false otherwise.
*/
function report_log_supports_logstore($instance) {
if ($instance instanceof \core\log\sql_select_reader) {
if ($instance instanceof \core\log\sql_reader) {
return true;
}
return false;