Unused globals
authorPlatonides <platonides@users.mediawiki.org>
Tue, 8 Feb 2011 22:10:34 +0000 (22:10 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 8 Feb 2011 22:10:34 +0000 (22:10 +0000)
includes/SkinLegacy.php
includes/api/ApiParse.php

index 961f7ae..e1e7b02 100644 (file)
@@ -48,7 +48,7 @@ class SkinLegacy extends SkinTemplate {
        }
 
        function qbSetting() {
-               global $wgOut, $wgUser;
+               global $wgUser;
                if ( $this->isQuickbarSuppressed() ) {
                        return 0;
                }
index c86061f..ab9c12a 100644 (file)
@@ -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 '';