From 2361b7dd77689793aba756ad4883741594a971cb Mon Sep 17 00:00:00 2001 From: Petr Skoda <skodak@moodle.org> Date: Sun, 5 Sep 2010 19:44:24 +0000 Subject: [PATCH] MDL-24089 minor coding style improvement --- admin/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/index.php b/admin/index.php index 9f8bf963947..4704db9fe10 100644 --- a/admin/index.php +++ b/admin/index.php @@ -262,8 +262,9 @@ if ($release <> $CFG->release) { // Update the release version if (moodle_needs_upgrading()) { if (!$PAGE->headerprinted) { - $PAGE->set_pagelayout('maintenance'); + // means core upgrade or installation was not already done if (!$confirmplugins) { + $PAGE->set_pagelayout('maintenance'); $strplugincheck = get_string('plugincheck'); $PAGE->navbar->add($strplugincheck); $PAGE->set_title($strplugincheck);