"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
@@ -15,7 +15,7 @@
}
}
} else {
if (!has_capability('moodle/site:backup', get_context_instance(CONTEXT_SYSTEM, SITEID))) {
if (!has_capability('moodle/site:backup', get_context_instance(CONTEXT_SYSTEM))) {
error("You need to be an admin user to use this page.", "$CFG->wwwroot/login/index.php");
}
}