Remove unneeded global
authorPlatonides <platonides@users.mediawiki.org>
Thu, 15 Dec 2011 20:43:58 +0000 (20:43 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 15 Dec 2011 20:43:58 +0000 (20:43 +0000)
https://gerrit.wikimedia.org/r/#change,1571

languages/Language.php

index 71cf5ea..47adfbe 100644 (file)
@@ -658,7 +658,6 @@ class Language {
                        return $allNames;
                }
 
-               global $IP;
                $names = array();
                // We do this using a foreach over the codes instead of a directory
                // loop so that messages files in extensions will work correctly.