r71033 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71032‎ | r71033 | r71034 >
Date:15:10, 13 August 2010
Author:demon
Status:ok
Tags:
Comment:
Try #2 for fixing r70970 (now with less unrelated changes). Just set $wgUser to a new User object here
Modified paths:
  • /trunk/phase3/maintenance/tests/UploadFromUrlTestSuite.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/UploadFromUrlTestSuite.php
@@ -46,7 +46,7 @@
4747 $parserMemc =& wfGetParserCacheStorage();
4848
4949 //$wgContLang = new StubContLang;
50 - $wgUser = new StubUser;
 50+ $wgUser = new User;
5151 $wgLang = new StubUserLang;
5252 $wgOut = new StubObject( 'wgOut', 'OutputPage' );
5353 $wgParser = new StubObject( 'wgParser', $wgParserConf['class'], array( $wgParserConf ) );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r70970Get rid of StubUser. Constructing a user object isn't quite as intensive as i...demon17:10, 12 August 2010

Status & tagging log