From 24fa8b42c2148b83412cccf6bbef9e1138fff609 Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 8 Feb 2011 22:10:34 +0000 Subject: [PATCH] Unused globals --- includes/SkinLegacy.php | 2 +- includes/api/ApiParse.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ''; -- 2.20.1