Bug 31058: Fix import AutoUnsuspendHolds
This patch corrects missing import To test: 1 - perl misc/cronjobs/holds/auto_unsuspend_holds.pl 2 - It dies Undefined subroutine &main::AutoUnsuspendReserves called at misc/cronjobs/holds/auto_unsuspend_holds.pl line 38. 3 - Apply patch 4 - run again 5 - It succeeds! Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commit6c315c164d) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit1e8abd7359) Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
parent
f129843b6e
commit
3188d9eed0
|
|
@ -30,7 +30,7 @@ BEGIN {
|
|||
# cancel all expired hold requests
|
||||
|
||||
use Koha::Script -cron;
|
||||
use C4::Reserves;
|
||||
use C4::Reserves qw(AutoUnsuspendReserves);
|
||||
use C4::Log qw( cronlogaction );
|
||||
|
||||
cronlogaction();
|
||||
|
|
|
|||
Loading…
Reference in New Issue