Merge branch 'MDL-56050-master' of git://github.com/lameze/moodle

This commit is contained in:
David Monllao 2016-10-10 23:14:43 +08:00
commit 97f1af7575

View File

@ -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();
} }