Bugzilla – Attachment 146977 Details for
Bug 30069
Add edifact_messages to cleanup_database.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30069: (QA follow-up) Fix capitalization for edifact
Bug-30069-QA-follow-up-Fix-capitalization-for-edif.patch (text/plain), 2.00 KB, created by
Katrin Fischer
on 2023-02-20 21:31:00 UTC
(
hide
)
Description:
Bug 30069: (QA follow-up) Fix capitalization for edifact
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-02-20 21:31:00 UTC
Size:
2.00 KB
patch
obsolete
>From 8fe696400958304b1fe01fc74930443dd1084bf1 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >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 <katrin.fischer.83@web.de> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30069
:
146690
|
146694
|
146976
|
146977
|
147564
|
147606
|
147607
|
147608
|
147609