r79691 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79690‎ | r79691 | r79692 >
Date:23:56, 5 January 2011
Author:platonides
Status:ok
Tags:
Comment:
Unused global
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/api/ApiQueryTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/api/ApiQueryTest.php
@@ -43,10 +43,6 @@
4444 }
4545
4646 function testTitlesAreRejectedIfInvalid() {
47 -
48 - global $wgSitename;
49 -
50 -
5147 $title = false;
5248 while( !$title || Title::newFromText( $title )->exists() ) {
5349 $title = md5( mt_rand( 0, 10000 ) + rand( 0, 999000 ) );

Status & tagging log