moodle/calendar/upgrade.txt

19 lines
745 B
Plaintext

This files describes API changes in /calendar/* ,
information provided here is intended especially for developers.
=== 2.5 ===
required changes in code:
* calendar_add_icalendar_event() now requires a valid subscriptionid
* calendar_process_subscription_row() throws exception for invalid subscriptionid
* calendar_update_subscription_events() now throws a dml_exception instead of moodle_exception for bad subscriptions
* calendar_get_mini() function now has optional $placement and $courseid paramaters.
optional - no changes needed:
* calendar_update_subscription() should now be used to update Ical subscriptions.
=== 2.4 ===
required changes in code:
* calendar_get_popup() function now just returns id, instead of the string "id=$id"