Bug 40983: (QA follow-up) Add a (final) upgrade warn

Just a last wake up call.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 5bad556207)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Marcel de Rooy 2025-10-10 08:36:41 +02:00 committed by Paul Derscheid
parent fed0a03011
commit bac6038711
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 16 additions and 0 deletions

View File

@ -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!"
);
},
};