summaryrefslogtreecommitdiff
path: root/contrib/feed-browser/includes
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/feed-browser/includes')
-rw-r--r--contrib/feed-browser/includes/functions.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/feed-browser/includes/functions.inc b/contrib/feed-browser/includes/functions.inc
index 23c7321a07..d49851f5b1 100644
--- a/contrib/feed-browser/includes/functions.inc
+++ b/contrib/feed-browser/includes/functions.inc
@@ -480,4 +480,8 @@ function read_vars_from_get($array_of_vars)
}
}
+function get_arch_list()
+{
+ return db_query('SELECT DISTINCT p_arch FROM packages WHERE p_arch NOT IN (NULL, "", "all") ORDER BY p_arch ASC');
+}
?>