diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-07-05 16:33:02 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-07-05 16:33:02 +0000 |
commit | f35bb30a937dafbafc3653e62108026270620a98 (patch) | |
tree | bb235fa88737ca3670d24d1226f26e3c17bc50a0 /contrib/feed-browser/includes | |
parent | 8d3f7b27e80ba08d2dc0e8167f01d27527697e06 (diff) |
feed-browser: list of architectures from database instead of static list
Diffstat (limited to 'contrib/feed-browser/includes')
-rw-r--r-- | contrib/feed-browser/includes/functions.inc | 4 |
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'); +} ?> |