summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib.php3
-rw-r--r--test_index.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/lib.php b/lib.php
index 7efd0e0..da8bc4e 100644
--- a/lib.php
+++ b/lib.php
@@ -22,10 +22,11 @@
* List all packages submitted to the BS.
*
* @param string $upload_dir
+ * @param integer $max_modified
*
* @return array
*/
-function get_submitted_packages($upload_dir)
+function get_submitted_packages($upload_dir, $max_modified)
{
chdir($upload_dir);
diff --git a/test_index.php b/test_index.php
index 53be1ee..2cb9ec9 100644
--- a/test_index.php
+++ b/test_index.php
@@ -45,7 +45,7 @@ if ($g_user) {
$tz = new DateTimeZone('UTC');
$date_gen = date('c');
-$matches = get_submitted_packages($upload_dir);
+$matches = get_submitted_packages($upload_dir, $max_modified);
echo 'debug:count:matches', count($matches), '<br>';
list($pkgs, $hosts, $build_dates, $buildtime_total) = get_refined_packages_list(