From f3e7cac6f9f5938c14ce31ea46bcfaa3ae818d92 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 3 May 2011 09:43:34 +0000 Subject: [PATCH] Removed Skin::$usercss, always false, nothing sets this --- includes/Skin.php | 1 - includes/SkinTemplate.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index b473cd8626..9490310e59 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -207,7 +207,6 @@ abstract class Skin { */ protected function setMembers() { $this->userpage = $this->getContext()->getUser()->getUserPage()->getPrefixedText(); - $this->usercss = false; } /** diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 18f2990611..c346055d35 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -191,7 +191,7 @@ class SkinTemplate extends Skin { $this->setupUserCss( $out ); $tpl->set( 'pagecss', $this->setupPageCss() ); - $tpl->setRef( 'usercss', $this->usercss ); + $tpl->set( 'usercss', false ); $this->userjs = $this->userjsprev = false; # FIXME: this is the only use of OutputPage::isUserJsAllowed() anywhere; can we -- 2.20.1