From 52273536239ac5122b95bca44c3f75a1eaeca404 Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Thu, 3 Sep 2009 08:05:42 +0000 Subject: [PATCH] admin MDL-19799 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants --- admin/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/index.php b/admin/index.php index 769e385a04..573964cc94 100644 --- a/admin/index.php +++ b/admin/index.php @@ -197,7 +197,7 @@ if ($version > $CFG->version) { // upgrade if (empty($confirmupgrade)) { $PAGE->navbar->add($strdatabasechecking); $PAGE->set_title($strdatabasechecking); - $PAGE->heading($stradministration); + $PAGE->set_heading($stradministration); $PAGE->set_cacheable(false); echo $OUTPUT->header(); $continueform = new html_form(); @@ -214,7 +214,7 @@ if ($version > $CFG->version) { // upgrade $strcurrentrelease = get_string('currentrelease'); $PAGE->navbar->add($strcurrentrelease); $PAGE->set_title($strcurrentrelease); - $PAGE->heading($strcurrentrelease); + $PAGE->set_heading($strcurrentrelease); $PAGE->set_cacheable(false); echo $OUTPUT->header(); echo $OUTPUT->heading("Moodle $release"); @@ -242,7 +242,7 @@ if ($version > $CFG->version) { // upgrade $strplugincheck = get_string('plugincheck'); $PAGE->navbar->add($strplugincheck); $PAGE->set_title($strplugincheck); - $PAGE->heading($strplugincheck); + $PAGE->set_heading($strplugincheck); $PAGE->set_cacheable(false); echo $OUTPUT->header(); echo $OUTPUT->heading($strplugincheck); -- 2.39.5