Remove unused global $IP
authorPlatonides <platonides@users.mediawiki.org>
Wed, 28 Jul 2010 12:11:46 +0000 (12:11 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 28 Jul 2010 12:11:46 +0000 (12:11 +0000)
maintenance/language/StatOutputs.php
maintenance/language/checkLanguage.inc

index 7d69bf7..f1e935b 100644 (file)
@@ -31,7 +31,6 @@ class statsOutput {
 /** Outputs WikiText */
 class wikiStatsOutput extends statsOutput {
        function heading() {
-               global $IP;
                $version = SpecialVersion::getVersion( 'nodb' );
                echo "'''Statistics are based on:''' <code>" . $version . "</code>\n\n";
                echo "'''Note:''' These statistics can be generated by running <code>php maintenance/language/transstat.php</code>.\n\n";
index 765c2b7..13fbdae 100644 (file)
@@ -383,7 +383,7 @@ ENDS;
         * @return The checks results as wiki text.
         */
        function outputWiki() {
-               global $wgContLang, $IP;
+               global $wgContLang;
                $detailText = '';
                $rows[] = '! Language !! Code !! Total !! ' . implode( ' !! ', array_diff( $this->checks, $this->nonMessageChecks() ) );
                foreach ( $this->results as $code => $results ) {