mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-56050-master' of git://github.com/lameze/moodle
This commit is contained in:
commit
97f1af7575
@ -2716,7 +2716,7 @@ function require_login($courseorid = null, $autologinguest = true, $cm = null, $
|
|||||||
if ($preventredirect) {
|
if ($preventredirect) {
|
||||||
throw new require_login_exception('Maintenance in progress');
|
throw new require_login_exception('Maintenance in progress');
|
||||||
}
|
}
|
||||||
|
$PAGE->set_context(null);
|
||||||
print_maintenance_message();
|
print_maintenance_message();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user