Bugzilla – Attachment 159101 Details for
Bug 26831
Enable librarians to control when unaccepted private list share invites are removed by the cleanup_database.pl cronjob
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26831: (follow-up) Tidy code for qa script
Bug-26831-follow-up-Tidy-code-for-qa-script.patch (text/plain), 1.68 KB, created by
Kyle M Hall (khall)
on 2023-11-17 17:28:11 UTC
(
hide
)
Description:
Bug 26831: (follow-up) Tidy code for qa script
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-11-17 17:28:11 UTC
Size:
1.68 KB
patch
obsolete
>From 33441eddd86a9c807400a6464f1cef19794933fd Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 17 Nov 2023 17:25:58 +0000 >Subject: [PATCH] Bug 26831: (follow-up) Tidy code for qa script > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > ...26831-add_PurgeListShareInvitesOlderThan_syspref.pl | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_26831-add_PurgeListShareInvitesOlderThan_syspref.pl b/installer/data/mysql/atomicupdate/bug_26831-add_PurgeListShareInvitesOlderThan_syspref.pl >index 5c3fb364017..f9314a314da 100755 >--- a/installer/data/mysql/atomicupdate/bug_26831-add_PurgeListShareInvitesOlderThan_syspref.pl >+++ b/installer/data/mysql/atomicupdate/bug_26831-add_PurgeListShareInvitesOlderThan_syspref.pl >@@ -1,12 +1,14 @@ > use Modern::Perl; > > return { >- bug_number => "26831", >+ bug_number => "26831", > description => "Add new system preference PurgeListShareInvitesOlderThan", >- up => sub { >+ up => sub { > my ($args) = @_; >- my ($dbh, $out) = @$args{qw(dbh out)}; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; > >- $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('PurgeListShareInvitesOlderThan', '14', NULL, 'If not empty, number of days used when deleting unaccepted list share invites', 'Integer') }); >+ $dbh->do( >+ q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('PurgeListShareInvitesOlderThan', '14', NULL, 'If not empty, number of days used when deleting unaccepted list share invites', 'Integer') } >+ ); > }, > }; >-- >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 26831
:
112634
|
140747
|
140748
|
140749
|
140750
|
140751
|
140752
|
157684
|
157685
|
157686
|
157711
|
157712
|
157713
|
157714
|
159097
|
159098
|
159099
|
159100
| 159101 |
159102