-
Bug
-
Resolution: Fixed
-
Minor
-
3.7.1
-
MOODLE_37_STABLE
-
MOODLE_37_STABLE
-
MDL-66279-master -
lib/classes/task/task_log_cleanup_task.php only executes the cleanup method from the core database_logger. If someone specifies their own logger class, extended from the database_logger, then the cleanup method never gets called. Using is_a and $classname::cleanup would allow extended classes to either overwrite the default implementation, or just have the default one used.