From 6fc428dc9a63e2fe2dd9fcb30be3350ee2778674 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 Content-Type: text/plain; charset=utf-8 As requested by QA on comment25. Signed-off-by: Marcel de Rooy --- 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 f67a934..4e2c243 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.1.4