r110090 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110089‎ | r110090 | r110091 >
Date:22:08, 26 January 2012
Author:demon
Status:ok
Tags:
Comment:
(bug 33911) SiteStats::isSane() should not check admins anymore
Modified paths:
  • /trunk/phase3/includes/SiteStats.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SiteStats.php
@@ -5,7 +5,7 @@
66 */
77 class SiteStats {
88 static $row, $loaded = false;
9 - static $admins, $jobs;
 9+ static $jobs;
1010 static $pageCount = array();
1111 static $groupMemberCounts = array();
1212
@@ -207,7 +207,7 @@
208208 }
209209 // Now check for underflow/overflow
210210 foreach( array( 'total_views', 'total_edits', 'good_articles',
211 - 'total_pages', 'users', 'admins', 'images' ) as $member ) {
 211+ 'total_pages', 'users', 'images' ) as $member ) {
212212 if(
213213 $row->{"ss_$member"} > 2000000000
214214 || $row->{"ss_$member"} < 0

Status & tagging log