Bug 26063: Use Koha::Plugins->call for circulation hooks
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Jul 2020 19:00:52 +0000 (16:00 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 30 Jul 2020 15:44:23 +0000 (17:44 +0200)
commitdb74e67bc52b2f3af8efd2243f6ab02fd6568de2
treee7e242eaf4152434a8275af08e443dae40e93db2
parent67c54c2c23be60df3efd1c7428ba870c0d5192f8
Bug 26063: Use Koha::Plugins->call for circulation hooks

This patch gets rid of a helper method used for calling the plugin
hooks.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Plugins/Circulation_hooks.t
=> SUCCESS: Tests pass!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests still pass!
4. Sign off :-D

Sponsored-by: ByWater Solutions

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm