From 974da20dfd14848ed8752cbc2f26c67702a6dc01 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 5 Apr 2010 18:18:47 +0000 Subject: [PATCH] Stop caring about ss_admins, we don't use it for anything anyway. Could probably be dropped from schema too. --- includes/SiteStats.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/SiteStats.php b/includes/SiteStats.php index 16e3c5f285..2c6528ecf7 100644 --- a/includes/SiteStats.php +++ b/includes/SiteStats.php @@ -156,7 +156,6 @@ class SiteStats { $row === false or $row->ss_total_pages < $row->ss_good_articles or $row->ss_total_edits < $row->ss_total_pages - or $row->ss_users < $row->ss_admins ) { return false; } @@ -375,7 +374,6 @@ class SiteStatsInit { 'ss_good_articles' => $this->mArticles, 'ss_total_pages' => $this->mPages, 'ss_users' => $this->mUsers, - 'ss_admins' => SiteStats::numberingroup( 'sysop' ), // @todo make this go away 'ss_images' => $this->mFiles ); $conds = array( 'ss_row_id' => 1 ); $views = array( 'ss_total_views' => $this->mViews ); -- 2.20.1