From: Alexandre Emsenhuber Date: Tue, 3 May 2011 09:43:34 +0000 (+0000) Subject: Removed Skin::$usercss, always false, nothing sets this X-Git-Tag: 1.31.0-rc.0~30441 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=f3e7cac6f9f5938c14ce31ea46bcfaa3ae818d92;p=lhc%2Fweb%2Fwiklou.git Removed Skin::$usercss, always false, nothing sets this --- 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