From 7afa724cb5dccef0fbd32e13a68244ead25c8d77 Mon Sep 17 00:00:00 2001 From: David Monllao Date: Tue, 31 Jul 2018 08:30:55 +0200 Subject: [PATCH] MDL-63026 course: Fix reference to unexisting capability --- course/upgrade.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/course/upgrade.txt b/course/upgrade.txt index a181c44cc13..62a9d36808e 100644 --- a/course/upgrade.txt +++ b/course/upgrade.txt @@ -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 === -- 2.43.0