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