Project: moodle
Issue MDL-42892: Reimplement access to log table in function can_delete_course()
Currently this function uses the legacy logging table. It needs to be upgraded to use the new logging API.
Story points: 20