summaryrefslogtreecommitdiff
path: root/web/lib
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-07-21 14:41:54 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-08-08 12:59:24 +0200
commitc751921affdcc8e67df2c04cb00de2d0c58e1927 (patch)
tree0efcb88e60415c9ef1727bd433fb14665661bb63 /web/lib
parente610360c95682bbaa359e1bf3d3abffb97a9820b (diff)
Do not use the term "unsupported" for AUR packages
We no longer use the term [unsupported] to refer to the "repository" of AUR packages. Update texts and variable names accordingly. Fixes FS#45381. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
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 ";