"MDL-14460,fix get_context_instance, merged from MOODLE_19_STABLE"

This commit is contained in:
dongsheng 2008-04-30 04:46:46 +00:00
parent 33aa5723ca
commit d9d16e56a3
5 changed files with 9 additions and 9 deletions

View file

@ -27,7 +27,7 @@ if (empty($CFG->bloglevel)) {
print_error('blogdisable', 'blog');
}
$sitecontext = get_context_instance(CONTEXT_SYSTEM, SITEID);
$sitecontext = get_context_instance(CONTEXT_SYSTEM);
// change block edit staus if not guest and logged in