Remove unused global $wgRestrictionTypes, changed into Title::getRestrictionTypes...
authorPlatonides <platonides@users.mediawiki.org>
Thu, 6 Jan 2011 18:15:50 +0000 (18:15 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 6 Jan 2011 18:15:50 +0000 (18:15 +0000)
includes/Skin.php

index 849223f..c88e8a0 100644 (file)
@@ -484,7 +484,7 @@ class Skin extends Linker {
         * You will only be adding bloat to the page and causing page caches to have to be purged on configuration changes.
         */
        static function makeGlobalVariablesScript( $skinName ) {
-               global $wgTitle, $wgUser, $wgRequest, $wgArticle, $wgOut, $wgRestrictionTypes, $wgUseAjax, $wgEnableMWSuggest;
+               global $wgTitle, $wgUser, $wgRequest, $wgArticle, $wgOut, $wgUseAjax, $wgEnableMWSuggest;
                
                $ns = $wgTitle->getNamespace();
                $nsname = MWNamespace::exists( $ns ) ? MWNamespace::getCanonicalName( $ns ) : $wgTitle->getNsText();