"MDL-14460, fix all the other get_context_instance,(use sed replace them), see tracker"

This commit is contained in:
dongsheng
2008-05-02 04:07:27 +00:00
parent 303e816601
commit 443a1fee8e
49 changed files with 57 additions and 57 deletions
+1 -1
View File
@@ -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);