MDL-56050 core: set missing context to maintenance mode
This commit is contained in:
committed by
David Monllao
parent
30078d7b9d
commit
0fd4fe4fb3
+1
-1
@@ -2688,7 +2688,7 @@ function require_login($courseorid = null, $autologinguest = true, $cm = null, $
|
||||
if ($preventredirect) {
|
||||
throw new require_login_exception('Maintenance in progress');
|
||||
}
|
||||
|
||||
$PAGE->set_context(null);
|
||||
print_maintenance_message();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user