mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
NOBUG: Removed duplicate call to set pagelayout within adminlib
This commit is contained in:
parent
086349fab4
commit
65e52192d5
@ -5563,7 +5563,6 @@ function admin_externalpage_setup($section, $extrabutton = '', array $extraurlpa
|
||||
if (strpos($PAGE->pagetype, 'admin-') !== 0) {
|
||||
$PAGE->set_pagetype('admin-' . $PAGE->pagetype);
|
||||
}
|
||||
$PAGE->set_pagelayout('admin');
|
||||
|
||||
if (empty($SITE->fullname) || empty($SITE->shortname)) {
|
||||
// During initial install.
|
||||
|
Loading…
x
Reference in New Issue
Block a user