diff --git a/search/index.php b/search/index.php index 3e3289cd24751..3908025920b72 100644 --- a/search/index.php +++ b/search/index.php @@ -58,7 +58,6 @@ if (\core_search\manager::is_global_search_enabled() === false) { $PAGE->set_url(new moodle_url('/search/index.php')); echo $OUTPUT->header(); - echo $OUTPUT->heading($pagetitle); echo $searchrenderer->render_search_disabled(); echo $OUTPUT->footer(); exit; @@ -169,7 +168,6 @@ // We are ready to render. echo $OUTPUT->header(); -echo $OUTPUT->heading($pagetitle); // Get the results. if ($data) {