From a52488c925e6898ef9357fb23ecf9ae4ac2a2bed Mon Sep 17 00:00:00 2001 From: Platonides Date: Thu, 6 Jan 2011 18:15:50 +0000 Subject: [PATCH] Remove unused global $wgRestrictionTypes, changed into Title::getRestrictionTypes() in r79655 --- includes/Skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1