Turn ParserOptions::setSkin() into a no-op since mSkin is no more used
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 12 Sep 2011 16:29:21 +0000 (16:29 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 12 Sep 2011 16:29:21 +0000 (16:29 +0000)
includes/parser/ParserOptions.php

index baf60ed..6b4eba0 100644 (file)
@@ -137,7 +137,7 @@ class ParserOptions {
        function setNumberHeadings( $x )            { return wfSetVar( $this->mNumberHeadings, $x ); }
        function setAllowSpecialInclusion( $x )     { return wfSetVar( $this->mAllowSpecialInclusion, $x ); }
        function setTidy( $x )                      { return wfSetVar( $this->mTidy, $x ); }
-       function setSkin( $x )                      { $this->mSkin = $x; }
+       function setSkin( $x )                      {}
        function setInterfaceMessage( $x )          { return wfSetVar( $this->mInterfaceMessage, $x ); }
        function setTargetLanguage( $x )            { return wfSetVar( $this->mTargetLanguage, $x, true ); }
        function setMaxIncludeSize( $x )            { return wfSetVar( $this->mMaxIncludeSize, $x ); }