Remove global that exists nowhere but here.
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 1 Aug 2008 16:22:51 +0000 (16:22 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 1 Aug 2008 16:22:51 +0000 (16:22 +0000)
maintenance/language/diffLanguage.php

index 389b01d..9d395b3 100644 (file)
@@ -84,7 +84,6 @@ function getMediawikiMessages($languageCode = 'En') {
                $langFile = $IP.'/languages/classes/Language'.$languageCode.'.php';
                if (file_exists( $langFile ) ) {
                        print "Including $langFile\n";
-                       global $wgNamespaceNamesEn;  // potentially unused global declaration?
                        include($langFile);
                } else wfDie("ERROR: The file $langFile does not exist !\n");
        }