Bug 16819: C4::Members::DelMember should use Koha::Holds to delete holds
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 28 Jun 2016 13:18:48 +0000 (10:18 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 8 Jul 2016 14:49:09 +0000 (14:49 +0000)
commitb7f15db41ae83654387a2191fa72bde60450b0b0
tree5da56a928da9d43ed2065f53bea07336ffdf5ef0
parent13bf3686c5d0fd3a3a192db961118535ece41a4c
Bug 16819: C4::Members::DelMember should use Koha::Holds to delete holds

This patch makes C4::Members::DelMember proprely use Koha::Holds to delete
holds. This is important as holds actions are started to be logged.

To reproduce:
- Apply the patch
- Run:
  $ prove t/db_dependent/Members.t
=> SUCCESS: Tests pass
- Sign off :-D

Sponsored-by: NEKLS
Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
All tests pass successfully

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Members.pm