1 This files describes API changes in /calendar/* ,
2 information provided here is intended especially for developers.
5 default values changes in code:
6 * core_calendar_external::get_calendar_events_parameters() 'timeend' default option changed; now, by default,
7 all events are returned, not only the past ones.
8 * calendar types need to be updated to be compatible with standard PHP date/time code
11 required changes in code:
12 * calendar_add_icalendar_event() now requires a valid subscriptionid
13 * calendar_process_subscription_row() throws exception for invalid subscriptionid
14 * calendar_update_subscription_events() now throws a dml_exception instead of moodle_exception for bad subscriptions
15 * calendar_get_mini() function now has optional $placement and $courseid paramaters.
17 optional - no changes needed:
18 * calendar_update_subscription() should now be used to update Ical subscriptions.
22 required changes in code:
24 * calendar_get_popup() function now just returns id, instead of the string "id=$id"