https://www.mediawiki.org/wiki/Special:Code/MediaWiki/110090
Revision: 110090
Author: demon
Date: 2012-01-26 22:08:38 +0000 (Thu, 26 Jan 2012)
Log Message:
-----------
(bug 33911) SiteStats::isSane() should not check admins anymore
Modified Paths:
--------------
trunk/phase3/includes/SiteStats.php
Modified: trunk/phase3/includes/SiteStats.php
===================================================================
--- trunk/phase3/includes/SiteStats.php 2012-01-26 22:05:48 UTC (rev 110089)
+++ trunk/phase3/includes/SiteStats.php 2012-01-26 22:08:38 UTC (rev 110090)
@@ -5,7 +5,7 @@
*/
class SiteStats {
static $row, $loaded = false;
- static $admins, $jobs;
+ static $jobs;
static $pageCount = array();
static $groupMemberCounts = array();
@@ -207,7 +207,7 @@
}
// 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 ) {
if(
$row->{"ss_$member"} > 2000000000
|| $row->{"ss_$member"} < 0
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs