Merge branch 'MDL-77387_master' of https://github.com/pmaneggia/moodle

This commit is contained in:
Andrew Nicols 2023-03-04 13:30:30 +08:00
commit c50c88e0e6

View File

@ -1010,7 +1010,7 @@ class helper {
* @return array
*/
public static function get_course_copy_capabilities(): array {
return array('moodle/backup:backupcourse', 'moodle/restore:restorecourse', 'moodle/course:view', 'moodle/course:create');
return array('moodle/backup:backupcourse', 'moodle/restore:restorecourse', 'moodle/course:create');
}
/**