Unused global
authorPlatonides <platonides@users.mediawiki.org>
Wed, 5 Jan 2011 23:56:10 +0000 (23:56 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 5 Jan 2011 23:56:10 +0000 (23:56 +0000)
tests/phpunit/includes/api/ApiQueryTest.php

index dbb64bd..d6da950 100644 (file)
@@ -43,10 +43,6 @@ class ApiQueryTest extends ApiTestSetup {
        }
        
        function testTitlesAreRejectedIfInvalid() {
-               
-               global $wgSitename;
-               
-               
                $title = false;
                while( !$title || Title::newFromText( $title )->exists() ) {
                        $title = md5( mt_rand( 0, 10000 ) + rand( 0, 999000 ) );