Remove unused globals
authorPlatonides <platonides@users.mediawiki.org>
Sat, 1 Jan 2011 22:16:58 +0000 (22:16 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sat, 1 Jan 2011 22:16:58 +0000 (22:16 +0000)
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/includes/parser/NewParserHelpers.php

index 0134b3f..7ace401 100644 (file)
@@ -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
index 1a3bd25..744dfd9 100644 (file)
@@ -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" );