MDL-63026 course: Fix reference to unexisting capability

This commit is contained in:
David Monllao 2018-07-31 08:30:55 +02:00
parent 6e8235c7d3
commit 7afa724cb5

View File

@ -2,9 +2,9 @@ This files describes API changes in /course/*,
information provided here is intended especially for developers.
=== 3.5 ===
* There is a new capability 'moodle/course:forcelanguage' to control which users can force the course
* There is a new capability 'moodle/course:setforcedlanguage' to control which users can force the course
language; create_course and update_course functions delegate access control to the caller code; if you
are calling those functions you may be interested in checking if the logged in user has 'moodle/course:forcelanguage' capability.
are calling those functions you may be interested in checking if the logged in user has 'moodle/course:setforcedlanguage' capability.
=== 3.3 ===