mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
remove community
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
448f7ef120
commit
3fd08d5715
15 changed files with 5 additions and 60 deletions
|
@ -67,11 +67,6 @@ function user_table($user, $dbh)
|
|||
# If the user is a TU calculate the number of the packages
|
||||
$atype = account_from_sid($_COOKIE["AURSID"]);
|
||||
|
||||
if (($atype == 'Trusted User') || ($atype == 'Developer')) {
|
||||
$maintainer_community_count = db_cache_value(sprintf($base_q, 'community'), $dbh,
|
||||
$apc_prefix . 'user_community_count:' . $escuser);
|
||||
}
|
||||
|
||||
include('stats/user_table.php');
|
||||
}
|
||||
|
||||
|
@ -82,9 +77,6 @@ function general_stats_table($dbh)
|
|||
$q = "SELECT count(*) FROM Packages,PackageLocations WHERE Packages.LocationID = PackageLocations.ID AND PackageLocations.Location = 'unsupported'";
|
||||
$unsupported_count = db_cache_value($q, $dbh, $apc_prefix . 'unsupported_count');
|
||||
|
||||
$q = "SELECT count(*) FROM Packages,PackageLocations WHERE Packages.LocationID = PackageLocations.ID AND PackageLocations.Location = 'community'";
|
||||
$community_count = db_cache_value($q, $dbh, $apc_prefix . 'community_count');
|
||||
|
||||
$q = "SELECT count(*) from Users";
|
||||
$user_count = db_cache_value($q, $dbh, $apc_prefix . 'user_count');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue