summaryrefslogtreecommitdiff
path: root/contrib/feed-browser/includes/functions.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-07-05 16:33:02 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-07-05 16:33:02 +0000
commitf35bb30a937dafbafc3653e62108026270620a98 (patch)
treebb235fa88737ca3670d24d1226f26e3c17bc50a0 /contrib/feed-browser/includes/functions.inc
parent8d3f7b27e80ba08d2dc0e8167f01d27527697e06 (diff)
feed-browser: list of architectures from database instead of static list
Diffstat (limited to 'contrib/feed-browser/includes/functions.inc')
-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');
+}
?>