From 1cb56fc8e330754ef84e2a7929059492e35b1343 Mon Sep 17 00:00:00 2001 From: Platonides Date: Sat, 1 Jan 2011 22:16:58 +0000 Subject: [PATCH] Remove unused globals --- tests/phpunit/MediaWikiTestCase.php | 1 - tests/phpunit/includes/parser/NewParserHelpers.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/tests/phpunit/MediaWikiTestCase.php b/tests/phpunit/MediaWikiTestCase.php index 0134b3ffda..7ace401f1d 100644 --- a/tests/phpunit/MediaWikiTestCase.php +++ b/tests/phpunit/MediaWikiTestCase.php @@ -125,7 +125,6 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase { } protected function destroyDB() { - global $wgDBprefix; if ( $this->useTemporaryTables ) { # Don't need to do anything diff --git a/tests/phpunit/includes/parser/NewParserHelpers.php b/tests/phpunit/includes/parser/NewParserHelpers.php index 1a3bd25d3d..744dfd975d 100644 --- a/tests/phpunit/includes/parser/NewParserHelpers.php +++ b/tests/phpunit/includes/parser/NewParserHelpers.php @@ -11,8 +11,6 @@ class ParserTestFileIterator implements Iterator { protected $eof; function __construct( $file, $parserTest ) { - global $IP; - $this->file = $file; $this->fh = fopen( $this->file, "rt" ); -- 2.20.1