Merge branch 'MDL-56022_m32v3' of https://github.com/sbourget/moodle
[moodle.git] / calendar / upgrade.txt
blob4a37e2c205bfd3ed84dc4350d8692443e5cffca2
1 This files describes API changes in /calendar/* ,
2 information provided here is intended especially for developers.
4 === 3.2 ===
5 * calendar_preferences_button() is now depreciated.  Calendar preferences have been moved to the user preferences page.
7 === 2.9 ===
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
13 === 2.5 ===
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.
23 === 2.4 ===
25 required changes in code:
27 * calendar_get_popup() function now just returns id, instead of the string "id=$id"