From: Platonides Date: Sat, 1 Jan 2011 22:16:58 +0000 (+0000) Subject: Remove unused globals X-Git-Tag: 1.31.0-rc.0~32912 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=1cb56fc8e330754ef84e2a7929059492e35b1343;p=lhc%2Fweb%2Fwiklou.git Remove unused globals --- 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" );