From 5489aa8bf3b28e856b28513a236f37e1e0ed610f Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 4 Sep 2012 14:02:39 +0000 Subject: fix missing vars in publish_stats_headers() --- lib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib.php') diff --git a/lib.php b/lib.php index a4eb8e8..48ec11f 100644 --- a/lib.php +++ b/lib.php @@ -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"); -- cgit v1.2.1