-
Task
-
Resolution: Fixed
-
Major
-
2.5
-
MOODLE_25_STABLE
-
MOODLE_26_STABLE
-
MDL-40046-master -
- visit a mod page activity.
- visit mod/page/index.php?id=courseid
- Make sure a log entry is created for both actions with all correct details as before the patch.
-
20
-
BACKEND Sprint 5
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);