Removed Skin::$usercss, always false, nothing sets this
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 3 May 2011 09:43:34 +0000 (09:43 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 3 May 2011 09:43:34 +0000 (09:43 +0000)
includes/Skin.php
includes/SkinTemplate.php

index b473cd8..9490310 100644 (file)
@@ -207,7 +207,6 @@ abstract class Skin {
         */
        protected function setMembers() {
                $this->userpage = $this->getContext()->getUser()->getUserPage()->getPrefixedText();
-               $this->usercss = false;
        }
 
        /**
index 18f2990..c346055 100644 (file)
@@ -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