From c751921affdcc8e67df2c04cb00de2d0c58e1927 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 21 Jul 2015 14:41:54 +0200 Subject: 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 --- web/lib/stats.inc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'web/lib') 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 "; -- cgit v1.2.3-70-g09d2