Bug 16187: (QA follow-up) Additional fixes
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 20 Oct 2017 06:11:38 +0000 (08:11 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 Oct 2017 19:51:25 +0000 (16:51 -0300)
commitf46d6a8785db490ec9067ba6964b5172e06ee848
tree08843ccc0e5493f8bd43ae38b12024f00fd8f5a5
parent0afe6eca76b3160fcdcddb9e376cf277d673acca
Bug 16187: (QA follow-up) Additional fixes

Fix:
Can't locate object method "next" via package "13" (perhaps you forgot to load "13"?) at misc/cronjobs/holds/cancel_unfilled_holds.pl line 119.
Undefined subroutine &main::CancelReserve called at misc/cronjobs/holds/cancel_unfilled_holds.pl line 143.

The script does not use Koha::Object's get_column correctly for getting
the branch codes.
The call to CancelReserve is obsolete. Was moved in the meantime to
Koha::Hold->cancel.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
misc/cronjobs/holds/cancel_unfilled_holds.pl