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
@@ -131,7 +131,7 @@ if (empty($SITE->fullname)) {
$visiblepathtosection = array_reverse($settingspage->visiblepath);
$PAGE->set_title("$SITE->shortname: " . implode(": ",$visiblepathtosection));
$PAGE->set_title(implode(": ",$visiblepathtosection));
$PAGE->set_heading($SITE->fullname);
echo $OUTPUT->header();