Project: moodle
Issue MDL-40046: Replace add_to_log with an event trigger - mod_page
Replace the add_to_log calls for the following area, with a call to the get_legacy_logdata function in the event class. *mod/page* /mod/page/index.php:36:add_to_log($course->id, 'page', 'view all', "index.php?id=$course->id", ''); /mod/page/view.php:54:add_to_log($course->id, 'page', 'view', 'view.php?id='.$cm->id, $page->id, $cm->id);
Story points: 20