Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.6
-
Fix Version/s: 2.7
-
Component/s: Calendar
-
Testing Instructions:
-
Affected Branches:MOODLE_26_STABLE
-
Fixed Branches:MOODLE_27_STABLE
-
Epic Link:
-
Pull from Repository:
-
Pull Master Branch:
MDL-40915-master -
Pull Master Diff URL:
-
Story Points:20
-
Sprint:BACKEND Sprint 12
Description
Replace the add_to_log calls for the following area, with a call to the get_legacy_logdata function in the event class.
Calendar
/calendar/lib.php:2236: add_to_log($this->properties->courseid, 'calendar', 'add', 'event.php?action=edit&id='.$this->properties->id, $this->properties->name);
/calendar/lib.php:2265: add_to_log($eventcopy->courseid, 'calendar', 'add', 'event.php?action=edit&id='.$eventcopyid, $eventcopy->name);
/calendar/lib.php:2320: add_to_log($this->properties->courseid, 'calendar', 'edit all', 'event.php?action=edit&id='.$this->properties->id, $this->properties->name);
/calendar/lib.php:2325: add_to_log($this->properties->courseid, 'calendar', 'edit', 'event.php?action=edit&id='.$this->properties->id, $this->properties->name);
Suggested additional events:
Check to see if deleting a calendar event requires an event.
Attachments
Issue Links
- is blocked by
-
MDL-44370 Incorrect urls for calendar logs in log and loglive reports
-
- Closed
-