mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Count users in "Trusted User & Developer" group as TU
This reflects the changes in 3610f3c
.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
6d5c936540
commit
92e827330c
2 changed files with 3 additions and 3 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue