From 8fe696400958304b1fe01fc74930443dd1084bf1 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 20 Feb 2023 21:28:05 +0000 Subject: [PATCH] Bug 30069: (QA follow-up) Fix capitalization for edifact Changes a few occurrences of edifact in the output messages to EDIFACT. Signed-off-by: Katrin Fischer --- misc/cronjobs/cleanup_database.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/cronjobs/cleanup_database.pl b/misc/cronjobs/cleanup_database.pl index a83227f2a2..c6038aa9d6 100755 --- a/misc/cronjobs/cleanup_database.pl +++ b/misc/cronjobs/cleanup_database.pl @@ -115,7 +115,7 @@ Usage: $0 [-h|--help] [--confirm] [--sessions] [--sessdays DAYS] [-v|--verbose] --jobs-days DAYS Purge all finished background jobs this many days old. Defaults to 1 if no DAYS provided. --jobs-type TYPES What type of background job to purge. Defaults to "update_elastic_index" if omitted Specifying "all" will purge all types. Repeatable. - --edifact-messages DAYS Purge entries from edifact_messages table older than DAYS days. + --edifact-messages DAYS Purge entries from the edifact_messages table older than DAYS days. Defaults to 365 days if no days specified. USAGE exit $_[0]; @@ -722,12 +722,12 @@ if ($jobs_days) { } if($edifact_msg_days) { - print "Purging edifact messages older than $edifact_msg_days days.\n" if $verbose; + print "Purging EDIFACT messages older than $edifact_msg_days days.\n" if $verbose; my $count = PurgeEdifactMessages($edifact_msg_days, $confirm); if ( $verbose ) { say $confirm - ? sprintf( "Done with purging %d edifact messages", $count ) - : sprintf( "%d edifact messages would have been removed", $count ); + ? sprintf( "Done with purging %d EDIFACT messages", $count ) + : sprintf( "%d EDIFACT messages would have been removed", $count ); } } -- 2.30.2