Koha-clms/t/lib
Martin Renvoize 1571fd489c
Bug 40983: Complete deprecation of old after_biblio_action hook signature
This patch completes the deprecation cycle started in bug 36343 by
removing the backward compatibility code and deprecation warnings for
the old after_biblio_action hook signature.

Changes made:
1. Removed the duplicate biblio and biblio_id parameters from
   _after_biblio_action_hooks in C4::Biblio that were marked for
   deprecation in 24.11.00
2. Updated the test plugin to use only the new payload-based signature,
   ensuring all parameters are accessed via $params->{payload}

The after_biblio_action hook now consistently uses the modern signature
with a payload parameter, matching the pattern used by other plugin hooks
like before_biblio_action, after_item_action, and after_hold_action.

Test plan:
1. Run: prove t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t
2. Run: prove t/db_dependent/Koha/Plugins/
3. Run: prove t/db_dependent/Biblio.t
4. All tests should pass

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-10-14 14:51:53 -06:00
..
IdP Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Koha/BackgroundJob Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Mocks Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
QA Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
bad_plugins/Koha/Plugin Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
plugins/Koha/Plugin Bug 40983: Complete deprecation of old after_biblio_action hook signature 2025-10-14 14:51:53 -06:00
Bootstrap.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Dates.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Mocks.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Selenium.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
TestBuilder.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00