r79448 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79447‎ | r79448 | r79449 >
Date:22:16, 1 January 2011
Author:platonides
Status:ok
Tags:
Comment:
Remove unused globals
Modified paths:
  • /trunk/phase3/tests/phpunit/MediaWikiTestCase.php (modified) (history)
  • /trunk/phase3/tests/phpunit/includes/parser/NewParserHelpers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/MediaWikiTestCase.php
@@ -125,7 +125,6 @@
126126 }
127127
128128 protected function destroyDB() {
129 - global $wgDBprefix;
130129
131130 if ( $this->useTemporaryTables ) {
132131 # Don't need to do anything
Index: trunk/phase3/tests/phpunit/includes/parser/NewParserHelpers.php
@@ -11,8 +11,6 @@
1212 protected $eof;
1313
1414 function __construct( $file, $parserTest ) {
15 - global $IP;
16 -
1715 $this->file = $file;
1816 $this->fh = fopen( $this->file, "rt" );
1917

Status & tagging log