From 8e7f1dddebb90d30be328d15ed8150517c2df664 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 30 Mar 2017 08:51:17 +0200 Subject: [PATCH] Bug 17669: [QA Follow-up] Rename --temp-uploads-override parameter As requested by QA on comment25. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- misc/cronjobs/cleanup_database.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/misc/cronjobs/cleanup_database.pl b/misc/cronjobs/cleanup_database.pl index f67a934535..4e2c243fa5 100755 --- a/misc/cronjobs/cleanup_database.pl +++ b/misc/cronjobs/cleanup_database.pl @@ -44,7 +44,7 @@ use Koha::UploadedFiles; sub usage { print STDERR < \$help, @@ -128,7 +128,7 @@ GetOptions( 'del-unv-selfreg' => \$pUnvSelfReg, 'unique-holidays:i' => \$special_holidays_days, 'temp-uploads' => \$temp_uploads, - 'temp-uploads-override:i' => \$override_temp_uploads, + 'temp-uploads-days:i' => \$temp_uploads_days, ) || usage(1); # Use default values @@ -315,7 +315,7 @@ if( $temp_uploads ) { # If the pref is empty, nothing happens (unless you override). print "Purging temporary uploads.\n" if $verbose; Koha::UploadedFiles->delete_temporary({ - override_pref => $override_temp_uploads, + override_pref => $temp_uploads_days, }); print "Done purging temporary uploads.\n" if $verbose; } -- 2.39.5