summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2015-11-03 01:26:37 +0100
committerOlivier Blin <dev@blino.org>2015-11-03 01:26:37 +0100
commit9caf90a890c629806129e430625932298fe6a31c (patch)
tree5b302978512f6c544833ff8279e58d6268025595 /index.php
parent4a1c9e8942841ce2f635afca4ea76ac80aaf504f (diff)
downloadpkgsubmit-9caf90a890c629806129e430625932298fe6a31c.tar
pkgsubmit-9caf90a890c629806129e430625932298fe6a31c.tar.gz
pkgsubmit-9caf90a890c629806129e430625932298fe6a31c.tar.bz2
pkgsubmit-9caf90a890c629806129e430625932298fe6a31c.tar.xz
pkgsubmit-9caf90a890c629806129e430625932298fe6a31c.zip
Declare mandatory arches in conf.php and pass to get_refined_packages_list
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9846951..4e42dd3 100644
--- a/index.php
+++ b/index.php
@@ -50,7 +50,8 @@ $matches = get_submitted_packages($upload_dir, $max_modified);
list($pkgs, $hosts, $build_count, $build_dates, $buildtime_total) = get_refined_packages_list(
$matches,
isset($_GET['package']) ? $_GET['package'] : null,
- isset($_GET['user']) ? $_GET['user'] : null
+ isset($_GET['user']) ? $_GET['user'] : null,
+ $mandatory_arches
);
list($stats, $users, $total, $pkgs) = build_stats($pkgs);