summaryrefslogtreecommitdiffstats
path: root/web/lib/stats.inc.php
diff options
context:
space:
mode:
authorBalló György <ballogyor@gmail.com>2014-08-02 14:18:45 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-08-02 15:25:46 +0200
commit92e827330c023f9f22f4483d5b04b0708120c18a (patch)
treeb6c17c6fe21e80b39c03f2dc28b3ff03e92c4cb6 /web/lib/stats.inc.php
parent6d5c9365408ca0969e5911bd118ccc56266a6ac1 (diff)
downloadaur-92e827330c023f9f22f4483d5b04b0708120c18a.tar.gz
aur-92e827330c023f9f22f4483d5b04b0708120c18a.tar.xz
Count users in "Trusted User & Developer" group as TU
This reflects the changes in 3610f3c. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/stats.inc.php')
-rw-r--r--web/lib/stats.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/stats.inc.php b/web/lib/stats.inc.php
index da3542a1..d63767c9 100644
--- a/web/lib/stats.inc.php
+++ b/web/lib/stats.inc.php
@@ -62,7 +62,7 @@ function general_stats_table() {
$q = "SELECT count(*) FROM Users";
$user_count = db_cache_value($q, 'user_count');
- $q = "SELECT count(*) FROM Users,AccountTypes WHERE Users.AccountTypeID = AccountTypes.ID AND AccountTypes.AccountType = 'Trusted User'";
+ $q = "SELECT count(*) FROM Users,AccountTypes WHERE Users.AccountTypeID = AccountTypes.ID AND (AccountTypes.AccountType = 'Trusted User' OR AccountTypes.AccountType = 'Trusted User & Developer')";
$tu_count = db_cache_value($q, 'tu_count');
$targstamp = intval(strtotime("-7 days"));