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:
parent
fed0a03011
commit
bac6038711
|
|
@ -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!"
|
||||
);
|
||||
},
|
||||
};
|
||||
Loading…
Reference in New Issue