From: Platonides Date: Tue, 8 Feb 2011 22:10:34 +0000 (+0000) Subject: Unused globals X-Git-Tag: 1.31.0-rc.0~32105 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=24fa8b42c2148b83412cccf6bbef9e1138fff609;p=lhc%2Fweb%2Fwiklou.git Unused globals --- diff --git a/includes/SkinLegacy.php b/includes/SkinLegacy.php index 961f7aeabf..e1e7b02dd5 100644 --- a/includes/SkinLegacy.php +++ b/includes/SkinLegacy.php @@ -48,7 +48,7 @@ class SkinLegacy extends SkinTemplate { } function qbSetting() { - global $wgOut, $wgUser; + global $wgUser; if ( $this->isQuickbarSuppressed() ) { return 0; } diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index c86061f429..ab9c12ab34 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -382,7 +382,7 @@ class ApiParse extends ApiBase { * @deprecated No modern skin generates langlinks this way, please use langlinks data to generate your own html */ private function languagesHtml( $languages ) { - global $wgOut, $wgUser, $wgContLang, $wgHideInterlanguageLinks; + global $wgContLang, $wgHideInterlanguageLinks; if ( $wgHideInterlanguageLinks || count( $languages ) == 0 ) { return '';