r70082 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70081‎ | r70082 | r70083 >
Date:12:11, 28 July 2010
Author:platonides
Status:ok
Tags:
Comment:
Remove unused global $IP
Modified paths:
  • /trunk/phase3/maintenance/language/StatOutputs.php (modified) (history)
  • /trunk/phase3/maintenance/language/checkLanguage.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/checkLanguage.inc
@@ -383,7 +383,7 @@
384384 * @return The checks results as wiki text.
385385 */
386386 function outputWiki() {
387 - global $wgContLang, $IP;
 387+ global $wgContLang;
388388 $detailText = '';
389389 $rows[] = '! Language !! Code !! Total !! ' . implode( ' !! ', array_diff( $this->checks, $this->nonMessageChecks() ) );
390390 foreach ( $this->results as $code => $results ) {
Index: trunk/phase3/maintenance/language/StatOutputs.php
@@ -31,7 +31,6 @@
3232 /** Outputs WikiText */
3333 class wikiStatsOutput extends statsOutput {
3434 function heading() {
35 - global $IP;
3635 $version = SpecialVersion::getVersion( 'nodb' );
3736 echo "'''Statistics are based on:''' <code>" . $version . "</code>\n\n";
3837 echo "'''Note:''' These statistics can be generated by running <code>php maintenance/language/transstat.php</code>.\n\n";

Status & tagging log