From: Platonides Date: Thu, 6 Jan 2011 18:15:50 +0000 (+0000) Subject: Remove unused global $wgRestrictionTypes, changed into Title::getRestrictionTypes... X-Git-Tag: 1.31.0-rc.0~32755 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=a52488c925e6898ef9357fb23ecf9ae4ac2a2bed;p=lhc%2Fweb%2Fwiklou.git Remove unused global $wgRestrictionTypes, changed into Title::getRestrictionTypes() in r79655 --- diff --git a/includes/Skin.php b/includes/Skin.php index 849223f451..c88e8a0ebb 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -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();