From c37f30841a569b0e0ae7cabb992b4ab595d8c51a Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 26 Jan 2012 22:08:38 +0000 Subject: [PATCH] (bug 33911) SiteStats::isSane() should not check admins anymore --- includes/SiteStats.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SiteStats.php b/includes/SiteStats.php index 90e04c0ae6..abb11306a0 100644 --- a/includes/SiteStats.php +++ b/includes/SiteStats.php @@ -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 @@ class SiteStats { } // 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 -- 2.20.1