MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@
|
||||
|
||||
/*
|
||||
Obsolete with the MOODLE INTERNAL check
|
||||
if (!has_capability('moodle/site:doanything', get_context_instance(CONTEXT_SYSTEM))) {
|
||||
if (!has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM))) {
|
||||
print_error('beadmin', 'search', get_login_url());
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user