summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/stats.inc.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/lib/stats.inc.php b/web/lib/stats.inc.php
index 203be0a..5a24591 100644
--- a/web/lib/stats.inc.php
+++ b/web/lib/stats.inc.php
@@ -39,8 +39,7 @@ function user_table($userid) {
$base_q.= "WHERE MaintainerUID = " . $userid . " ";
$base_q.= "AND PackagerUID IS NOT NULL";
- $maintainer_unsupported_count = db_cache_value($base_q,
- 'user_unsupported_count:' . $userid);
+ $user_pkg_count = db_cache_value($base_q, 'user_pkg_count:' . $userid);
$q = "SELECT COUNT(*) FROM PackageBases ";
$q.= "WHERE OutOfDateTS IS NOT NULL ";
@@ -60,7 +59,7 @@ function user_table($userid) {
function general_stats_table() {
# AUR statistics
$q = "SELECT COUNT(*) FROM PackageBases WHERE PackagerUID IS NOT NULL";
- $unsupported_count = db_cache_value($q, 'unsupported_count');
+ $pkg_count = db_cache_value($q, 'pkg_count');
$q = "SELECT COUNT(*) FROM PackageBases ";
$q.= "WHERE MaintainerUID IS NULL ";