Back out r93533, r93531, r93530
[lhc/web/wiklou.git] / maintenance / initStats.php
index 1ec5c92..eab9c8d 100644 (file)
@@ -63,7 +63,7 @@ class InitStats extends Maintenance {
 
                if ( $this->hasOption( 'active' ) ) {
                        $this->output( "Counting active users..." );
-                       $active = SiteStatsUpdate::cacheUpdate();
+                       $active = SiteStatsUpdate::cacheUpdate( wfGetDB( DB_MASTER ) );
                        $this->output( "{$active}\n" );
                }