NOBUG: Removed duplicate call to set pagelayout within adminlib

This commit is contained in:
Sam Hemelryk 2010-11-01 02:10:31 +00:00
parent 086349fab4
commit 65e52192d5

View File

@ -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.