Bugzilla – Attachment 172443 Details for
Bug 30955
Send a notice to new owner when transferring shared list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30955: (follow-up) Remove database update
Bug-30955-follow-up-Remove-database-update.patch (text/plain), 1.61 KB, created by
Jake Deery
on 2024-10-07 08:33:08 UTC
(
hide
)
Description:
Bug 30955: (follow-up) Remove database update
Filename:
MIME Type:
Creator:
Jake Deery
Created:
2024-10-07 08:33:08 UTC
Size:
1.61 KB
patch
obsolete
>From e3d43aea1f6d57d704a53e97d536b01723e1120d Mon Sep 17 00:00:00 2001 >From: Jake Deery <jake.deery@ptfs-europe.com> >Date: Mon, 7 Oct 2024 08:32:27 +0000 >Subject: [PATCH] Bug 30955: (follow-up) Remove database update > >--- > .../atomicupdate/bug_30955-add-new-notice.pl | 15 --------------- > 1 file changed, 15 deletions(-) > delete mode 100755 installer/data/mysql/atomicupdate/bug_30955-add-new-notice.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_30955-add-new-notice.pl b/installer/data/mysql/atomicupdate/bug_30955-add-new-notice.pl >deleted file mode 100755 >index b4a6971236..0000000000 >--- a/installer/data/mysql/atomicupdate/bug_30955-add-new-notice.pl >+++ /dev/null >@@ -1,15 +0,0 @@ >-use Modern::Perl; >- >-return { >- bug_number => "30955", >- description => "Send a notice to new owner when transferring shared list", >- up => sub { >- my ($args) = @_; >- my ( $dbh, $out ) = @$args{qw(dbh out)}; >- >- $dbh->do( >- q{ INSERT IGNORE INTO letter (module, code, name, is_html, title, content, message_transport_type) VALUES ('lists', 'TRANSFER_OWNERSHIP', 'Transfer ownership', 1, 'A list has been transferred to you', "Dear [%- INCLUDE 'patron-title.inc' patron => new_owner -%],<br>\r\n<br>\r\nA public list, titled <em>[% shelf.shelfname | html %]</em>, has been transferred to you[% IF ( old_owner ) %] by [%- INCLUDE 'patron-title.inc' patron => old_owner%][% IF ( old_owner.email ) %] <em>([% old_owner.email | html %])</em>[% END %][% END %].<br>\r\n<br>\r\nThank you<br>\r\n<br>\r\n", 'email') } >- ); >- say $out "Added notice TRANSFER_OWNERSHIP"; >- }, >-}; >-- >2.43.0
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 30955
:
168970
|
169252
|
169267
|
170748
|
170826
|
172443
|
172445
|
173213
|
173214
|
173215
|
173216
|
173254
|
173255