}
// Now check for underflow/overflow
foreach( array( 'total_views', 'total_edits', 'good_articles',
}
// Now check for underflow/overflow
foreach( array( 'total_views', 'total_edits', 'good_articles',
- 'total_pages', 'users', 'admins', 'images' ) as $member ) {
+ 'total_pages', 'users', 'images' ) as $member ) {
* Do all updates and commit them. More or less a replacement
* for the original initStats, but without output.
*
* Do all updates and commit them. More or less a replacement
* for the original initStats, but without output.
*
* - Boolean: whether to use the master DB
* - DatabaseBase: database connection to use
* @param $options Array of options, may contain the following values
* - Boolean: whether to use the master DB
* - DatabaseBase: database connection to use
* @param $options Array of options, may contain the following values