From: Chad Horohoe Date: Thu, 26 Jan 2012 22:08:38 +0000 (+0000) Subject: (bug 33911) SiteStats::isSane() should not check admins anymore X-Git-Tag: 1.31.0-rc.0~25072 X-Git-Url: http://git.cyclocoop.org/%27%20.%20%24prefix%20.%20Wiki::transformTitleToURI%28%24matches%5B1%5D%29%20.%20%27?a=commitdiff_plain;h=c37f30841a569b0e0ae7cabb992b4ab595d8c51a;p=lhc%2Fweb%2Fwiklou.git (bug 33911) SiteStats::isSane() should not check admins anymore --- 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