Bugzilla – Attachment 152809 Details for
Bug 33716
ILL - Allow for a disclaimer stage per request type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33716: (QA follow-up) Add atomic update file
Bug-33716-QA-follow-up-Add-atomic-update-file.patch (text/plain), 1.29 KB, created by
Pedro Amorim
on 2023-06-28 15:08:51 UTC
(
hide
)
Description:
Bug 33716: (QA follow-up) Add atomic update file
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-06-28 15:08:51 UTC
Size:
1.29 KB
patch
obsolete
>From a434eb54ca93e249d6d891f9f9d1b5535d3c6ca5 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Wed, 28 Jun 2023 15:00:17 +0000 >Subject: [PATCH] Bug 33716: (QA follow-up) Add atomic update file > >--- > .../data/mysql/atomicupdate/bug_33716.pl | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_33716.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_33716.pl b/installer/data/mysql/atomicupdate/bug_33716.pl >new file mode 100755 >index 0000000000..bd7f48d40b >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_33716.pl >@@ -0,0 +1,20 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "33716", >+ description => "Add new ILLModuleDisclaimerByType system preference ", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ $dbh->do( >+ q{ >+ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ( >+ 'ILLModuleDisclaimerByType', '', '', 'YAML defining disclaimer settings for each ILL request type', >+ 'Textarea' >+ ); >+ } >+ ); >+ say $out "Added new system preference 'ILLModuleDisclaimerByType'"; >+ }, >+}; >-- >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 33716
:
151027
|
151031
|
151032
|
151033
|
151034
|
151035
|
151146
|
151147
|
151148
|
151149
|
151150
|
151388
|
151389
|
151390
|
151391
|
151392
|
151393
|
151394
|
151401
|
151402
|
151403
|
151404
|
151405
|
151406
|
151407
|
151408
|
151409
|
151410
|
151411
|
152809
|
152810
|
152811
|
152813
|
152814
|
152815
|
152816
|
152817
|
152818
|
152819
|
152820
|
152821
|
152822
|
152823
|
152826
|
154305
|
154454
|
154714