Bugzilla – Attachment 135896 Details for
Bug 11889
Option to keep public or shared lists when deleting patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11889: (QA follow-up) Convert to new atomicupdate style
Bug-11889-QA-follow-up-Convert-to-new-atomicupdate.patch (text/plain), 1.37 KB, created by
Martin Renvoize (ashimema)
on 2022-06-09 14:58:11 UTC
(
hide
)
Description:
Bug 11889: (QA follow-up) Convert to new atomicupdate style
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-06-09 14:58:11 UTC
Size:
1.37 KB
patch
obsolete
>From 49bb14e67200870989199742455cf78ae1c6a296 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 8 Jun 2022 14:14:43 +0000 >Subject: [PATCH] Bug 11889: (QA follow-up) Convert to new atomicupdate style > >The first patch contained an old .sql atomic update. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > installer/data/mysql/atomicupdate/bug_11889.pl | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_11889.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_11889.pl b/installer/data/mysql/atomicupdate/bug_11889.pl >new file mode 100755 >index 0000000000..f715b7a2a2 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_11889.pl >@@ -0,0 +1,13 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => 11889, >+ description => "Add pref ListOwnershipUponPatronDeletion", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ $dbh->do(q{ >+INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) VALUES ('ListOwnershipUponPatronDeletion', 'delete', 'delete|transfer', 'When deleting a patron who owns public lists, either delete the public lists or transfer ownership to the patron who deleted the owner', 'Choice'); >+ }); >+ }, >+}; >-- >2.20.1
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 11889
:
25972
|
60224
|
60306
|
60307
|
60308
|
60481
|
61319
|
61320
|
61321
|
61322
|
61451
|
61452
|
61453
|
61454
|
108244
|
108245
|
108246
|
108247
|
135808
|
135809
|
135810
|
135811
|
135812
|
135813
|
135814
|
135815
|
135816
|
135817
|
135818
|
135819
|
135820
|
135821
|
135857
|
135858
|
135859
|
135860
|
135861
|
135862
|
135863
|
135864
|
135865
|
135866
|
135867
|
135868
|
135869
|
135870
|
135871
|
135872
|
135873
|
135874
|
135875
|
135876
|
135891
|
135892
|
135893
|
135894
|
135895
| 135896 |
135897
|
135898
|
135899
|
135900
|
135901