"MDL-14460, fix all the other get_context_instance,(use sed replace them), see tracker"
This commit is contained in:
+1
-1
@@ -560,7 +560,7 @@
|
||||
/// Check for valid admin user - no guest autologin
|
||||
require_login(0, false);
|
||||
|
||||
$context = get_context_instance(CONTEXT_SYSTEM, SITEID);
|
||||
$context = get_context_instance(CONTEXT_SYSTEM);
|
||||
|
||||
require_capability('moodle/site:config', $context);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user