From 4b5a02bd1d9c4dc14151578d5a950a282add424a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 16 Apr 2024 13:13:55 +0100 Subject: [PATCH] Bug 36343: (QA follow-up) Add warning in DB update Signed-off-by: Katrin Fischer --- installer/data/mysql/atomicupdate/bug_36343.pl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 installer/data/mysql/atomicupdate/bug_36343.pl diff --git a/installer/data/mysql/atomicupdate/bug_36343.pl b/installer/data/mysql/atomicupdate/bug_36343.pl new file mode 100755 index 0000000000..0de4f4a412 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_36343.pl @@ -0,0 +1,13 @@ +use Modern::Perl; + +return { + bug_number => "36343", + description => "Update plugin hooks for consistency", + up => sub { + my ($args) = @_; + my ( $dbh, $out ) = @$args{qw(dbh out)}; + + say $out "WARNING: Plugin authors should consider changes introduced here"; + say $out "WARNING: after_biblio_action, after_item_action and patron_generate_userid hooks now pass data inside a 'payload' hash"; + }, +}; -- 2.39.5