Merge branch 'MDL-48795_27' of https://github.com/apsdehal/moodle into MOODLE_27_STABLE
[moodle.git] / calendar / upgrade.txt
blob72a666ae5b08011224365bcdb11d3c02265921ce
1 This files describes API changes in /calendar/* ,
2 information provided here is intended especially for developers.
4 === 2.5 ===
5 required changes in code:
6 * calendar_add_icalendar_event() now requires a valid subscriptionid
7 * calendar_process_subscription_row() throws exception for invalid subscriptionid
8 * calendar_update_subscription_events() now throws a dml_exception instead of moodle_exception for bad subscriptions
9 * calendar_get_mini() function now has optional $placement and $courseid paramaters.
11 optional - no changes needed:
12 * calendar_update_subscription() should now be used to update Ical subscriptions.
14 === 2.4 ===
16 required changes in code:
18 * calendar_get_popup() function now just returns id, instead of the string "id=$id"