MDL-8249 do not hardcode role names and descriptions during installation
[moodle.git] / enrol / upgrade.txt
CommitLineData
e922fe23
PS
1This files describes API changes in /enrol/* - plugins,
2information provided here is intended especially for developers.
3
ee362526 4
e922fe23
PS
5=== 2.2 ===
6
7required changes in code:
8* load_temp_role() is deprecated, use load_temp_course_role() instead, temp role not loaded
9* remove_temp_role() is deprecated, use remove_temp_course_roles() instead
358fb4dc 10* 'user_unenrol_modified' event was renamed to 'user_enrol_modified'
ee362526
PS
11
12
13=== 2.0 ===
14
15required changes in code:
16* enrolment plugins need to be rewritten to use new API - see inline phpdocs and official plugins