diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-09-04 14:02:39 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-09-04 14:02:39 +0000 |
commit | 5489aa8bf3b28e856b28513a236f37e1e0ed610f (patch) | |
tree | bb5959b0198d148e3fe4e3342cdc4325af5e3903 /lib.php | |
parent | 7ec3d5f6be0e1182c863a2891e073c6982314e58 (diff) | |
download | pkgsubmit-5489aa8bf3b28e856b28513a236f37e1e0ed610f.tar pkgsubmit-5489aa8bf3b28e856b28513a236f37e1e0ed610f.tar.gz pkgsubmit-5489aa8bf3b28e856b28513a236f37e1e0ed610f.tar.bz2 pkgsubmit-5489aa8bf3b28e856b28513a236f37e1e0ed610f.tar.xz pkgsubmit-5489aa8bf3b28e856b28513a236f37e1e0ed610f.zip |
fix missing vars in publish_stats_headers()
Diffstat (limited to 'lib.php')
-rw-r--r-- | lib.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -140,11 +140,13 @@ function timesort($a, $b) * Publish BS stats as HTTP headers for remote services to adapt. * * @param array $stats + * @param integer $buildtime_total + * @param integer $build_count * @param array $last_package * * @return void */ -function publish_stats_headers($stats, $last_package = null) +function publish_stats_headers($stats, $buildtime_total, $build_count, $last_package = null) { foreach ($stats as $k => $v) { header("X-BS-Queue-$k: $v"); |