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 commit 6c315c164d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 1e8abd7359)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
Nick Clemens 2022-06-28 10:06:57 +00:00 committed by Arthur Suzuki
parent f129843b6e
commit 3188d9eed0
1 changed files with 1 additions and 1 deletions

View File

@ -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();