Commit 92c51608 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't display login sideblock when logins are disabled for an upgrade

parent 04dd3093
......@@ -463,7 +463,7 @@ EOF;
);
}
if (!$USER->is_logged_in()) {
if (!$USER->is_logged_in() && !(get_config('siteclosed') && get_config('disablelogin'))) {
$SIDEBLOCKS[] = array(
'name' => 'login',
'weight' => -10,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment