MDL-78806 core: Remove redundant site name

MDL-78806 core: Remove redundant site name on page titles

* With the site name now being appended to the page titles, there
is no need to manually append the page titles.
This commit is contained in:
Jun Pataleta
2023-09-09 08:58:29 +08:00
parent 4a966117a6
commit 90a9ea3be1
43 changed files with 62 additions and 63 deletions
+1 -1
View File
@@ -8711,7 +8711,7 @@ function admin_externalpage_setup($section, $extrabutton = '', array $extraurlpa
$PAGE->set_button($OUTPUT->single_button($url, $caption, 'get'));
}
$PAGE->set_title("$SITE->shortname: " . implode(": ", $visiblepathtosection));
$PAGE->set_title(implode(": ", $visiblepathtosection));
$PAGE->set_heading($SITE->fullname);
if ($hassiteconfig && empty($options['nosearch'])) {