From ee91389edd76297c2a553a65d7ec5f89ab2e97d0 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 Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- 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 1400309d74..c1a6614bcc 100755 --- a/misc/cronjobs/cleanup_database.pl +++ b/misc/cronjobs/cleanup_database.pl @@ -116,7 +116,7 @@ Usage: $0 [-h|--help] [--confirm] [--sessions] [--sessdays DAYS] [-v|--verbose] --jobs-type TYPES What type of background job to purge. Defaults to "update_elastic_index" if omitted Specifying "all" will purge all types. Repeatable. --reports DAYS Purge reports data saved more than DAYS days ago. The data is created by running runreport.pl with the --store-results option. - --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]; @@ -734,12 +734,12 @@ if ($reports) { } 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.39.5