Index: trunk/phase3/maintenance/initStats.php |
— | — | @@ -63,7 +63,7 @@ |
64 | 64 | |
65 | 65 | if ( $this->hasOption( 'active' ) ) { |
66 | 66 | $this->output( "Counting active users..." ); |
67 | | - $active = SiteStatsUpdate::cacheUpdate(); |
| 67 | + $active = SiteStatsUpdate::cacheUpdate( wfGetDB( DB_MASTER ) ); |
68 | 68 | $this->output( "{$active}\n" ); |
69 | 69 | } |
70 | 70 | |