Project: moodle
Issue MDL-40918: Replace add_to_log with an event trigger - mod_lti
Replace the add_to_log calls for the following area, with a call to the get_legacy_logdata function in the event class. *mod_lti* /mod/lti/index.php:59:add_to_log($course->id, "lti", "view all", "index.php?id=$course->id", ""); /mod/lti/launch.php:62:add_to_log($course->id, "lti", "launch", "launch.php?id=$cm->id", "$lti->id"); /mod/lti/view.php:95:add_to_log($course->id, "lti", "view", "view.php?id=$cm->id", "$lti->id");
Story points: 8