diff --git a/installer/data/mysql/atomicupdate/bug_40983.pl b/installer/data/mysql/atomicupdate/bug_40983.pl new file mode 100755 index 0000000000..2778816e3b --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_40983.pl @@ -0,0 +1,16 @@ +use Modern::Perl; +use Koha::Installer::Output qw(say_warning say_success say_info); + +return { + bug_number => "40983", + description => "Warn about removed pre-payload parameters of after_biblio_action hooks", + up => sub { + my ($args) = @_; + my ( $dbh, $out ) = @$args{qw(dbh out)}; + + say_warning( + $out, + "WARNING: A few deprecated parameters for after_biblio_action plugins have been removed now. If you still use them in your plugins, adjust your plugins right away to use the payload hash and prevent issues!" + ); + }, +};