From: Sam Reed Date: Wed, 30 Mar 2011 18:34:38 +0000 (+0000) Subject: Fix missing parameter to cacheUpdate X-Git-Tag: 1.31.0-rc.0~31122 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=0e87dc98219651d0b6217e39cf4a8973a6a9c749;p=lhc%2Fweb%2Fwiklou.git Fix missing parameter to cacheUpdate --- diff --git a/maintenance/initStats.php b/maintenance/initStats.php index 1ec5c92578..eab9c8df68 100644 --- a/maintenance/initStats.php +++ b/maintenance/initStats.php @@ -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" ); }