*
* @param $what Array: what updates to perform
*/
- public function doUpdates( $what = array( 'core', 'extensions', 'purge' ) ) {
+ public function doUpdates( $what = array( 'core', 'extensions', 'purge', 'stats' ) ) {
global $wgVersion;
$what = array_flip( $what );
if( isset( $what['purge'] ) ) {
$this->purgeCache();
}
- if ( isset( $what['core'] ) ) {
+ if ( isset( $what['stats'] ) ) {
$this->checkStats();
}
}
*
* @param $what array
*/
- public function doUpdates( $what = array( 'core', 'extensions', 'purge' ) ) {
+ public function doUpdates( $what = array( 'core', 'extensions', 'purge', 'stats' ) ) {
parent::doUpdates( $what );
$this->db->query( 'BEGIN fill_wiki_info; END;' );
$shared = $this->hasOption( 'doshared' );
- $updates = array('core','extensions');
+ $updates = array( 'core', 'extensions', 'stats' );
if( !$this->hasOption('nopurge') ) {
$updates[] = 'purge';
}