https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40984
--- Comment #5 from Martin Renvoize (ashimema) <[email protected]> --- (In reply to Marcel de Rooy from comment #2) > I am not so sure about this: > > + # Log deprecation warning if any plugin is still using the old signature > + my @plugins = Koha::Plugins->get_enabled_plugins( { verbose => 0 } ); > + @plugins = grep { $_->can('after_authority_action') } @plugins; > + if (@plugins) { > + Koha::Logger->get->warn( > + "after_authority_action hook: The old signature (with authority > and authority_id as direct parameters) " > + . "is deprecated and will be removed in a future release. " > + . "Please update your plugin to use the 'payload' parameter > instead." ); > + } Hmm.. seems I mis-remembered how we added a deprecation to the other bug.. just a DB update. That feels too quiet to me really but you are right, this approach could be noisy -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
