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