r85028 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85027‎ | r85028 | r85029 >
Date:18:34, 30 March 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix missing parameter to cacheUpdate
Modified paths:
  • /trunk/phase3/maintenance/initStats.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/initStats.php
@@ -63,7 +63,7 @@
6464
6565 if ( $this->hasOption( 'active' ) ) {
6666 $this->output( "Counting active users..." );
67 - $active = SiteStatsUpdate::cacheUpdate();
 67+ $active = SiteStatsUpdate::cacheUpdate( wfGetDB( DB_MASTER ) );
6868 $this->output( "{$active}\n" );
6969 }
7070

Status & tagging log