From 41ef1087d762d6c6d2ec75d1b7372b6b67261e9c 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 --- 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 00000000000..0de4f4a4123 --- /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.44.0