diff options
-rw-r--r-- | lib.php | 3 | ||||
-rw-r--r-- | test_index.php | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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( |