-
Type:
Task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.5
-
Fix Version/s: 2.6
-
Component/s: Events API, Logging
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_25_STABLE
-
Fixed Branches:MOODLE_26_STABLE
-
Epic Link:
-
Pull from Repository:
-
Pull Master Branch:
MDL-40048-master -
Pull Master Diff URL:
-
Story Points:20
-
Sprint: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/chat (6 calls)
/mod/chat/chat_ajax.php:94: add_to_log($course->id, 'chat', 'talk', "view.php?id=$cm->id", $chat->id, $cm->id);
/mod/chat/report.php:50: add_to_log($course->id, 'chat', 'report', "report.php?id=$cm->id", $chat->id, $cm->id);
/mod/chat/index.php:17: add_to_log($course->id, 'chat', 'view all', "index.php?id=$course->id", '');
/mod/chat/gui_header_js/insert.php:61: add_to_log($course->id, 'chat', 'talk', "view.php?id=$cm->id", $chat->id, $cm->id);
/mod/chat/gui_basic/index.php:108: add_to_log($course->id, 'chat', 'talk', "view.php?id=$cm->id", $chat->id, $cm->id);
/mod/chat/view.php:73: add_to_log($course->id, 'chat', 'view', "view.php?id=$cm->id", $chat->id, $cm->id);