MDL-24089 minor coding style improvement

This commit is contained in:
Petr Skoda 2010-09-05 19:44:24 +00:00
parent 575f245fbc
commit 2361b7dd77

View File

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