diff options
author | Sergej Pupykin <sergej.pupykin@lx-ltd.ru> | 2009-08-25 14:04:15 +0200 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-08-26 06:14:32 +0200 |
commit | 3fd08d5715f9ce53d3a7bdd2ef8565e2ec3ae22f (patch) | |
tree | 429892107a04a5c546772b7473798a4de7552a28 /web/lib/stats.inc | |
parent | 448f7ef120475226ce419e88455391a8bfcdce18 (diff) | |
download | aur-3fd08d5715f9ce53d3a7bdd2ef8565e2ec3ae22f.tar.gz aur-3fd08d5715f9ce53d3a7bdd2ef8565e2ec3ae22f.tar.xz |
remove community
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib/stats.inc')
-rw-r--r-- | web/lib/stats.inc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/web/lib/stats.inc b/web/lib/stats.inc index 706027c9..85c7e28e 100644 --- a/web/lib/stats.inc +++ b/web/lib/stats.inc @@ -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'); |