r87320 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87319‎ | r87320 | r87321 >
Date:09:43, 3 May 2011
Author:ialex
Status:ok
Tags:
Comment:
Removed Skin::$usercss, always false, nothing sets this
Modified paths:
  • /trunk/phase3/includes/Skin.php (modified) (history)
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SkinTemplate.php
@@ -191,7 +191,7 @@
192192 $this->setupUserCss( $out );
193193
194194 $tpl->set( 'pagecss', $this->setupPageCss() );
195 - $tpl->setRef( 'usercss', $this->usercss );
 195+ $tpl->set( 'usercss', false );
196196
197197 $this->userjs = $this->userjsprev = false;
198198 # FIXME: this is the only use of OutputPage::isUserJsAllowed() anywhere; can we
Index: trunk/phase3/includes/Skin.php
@@ -207,7 +207,6 @@
208208 */
209209 protected function setMembers() {
210210 $this->userpage = $this->getContext()->getUser()->getUserPage()->getPrefixedText();
211 - $this->usercss = false;
212211 }
213212
214213 /**

Status & tagging log