Remove unused global left in r51727
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 11 Jun 2009 09:05:47 +0000 (09:05 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 11 Jun 2009 09:05:47 +0000 (09:05 +0000)
includes/api/ApiQuerySiteinfo.php

index 27c9e89..4a06b35 100644 (file)
@@ -393,7 +393,6 @@ class ApiQuerySiteinfo extends ApiQueryBase {
        }
 
        public function appendLanguages( $property ) {
-               global $wgLanguageNames;
                $data = array();
                foreach( Language::getLanguageNames() as $code => $name ) {
                        $lang = array( 'code' => $code );