From be9aead2b14b81adc844360e1283e6eb523afc05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Mon, 16 May 2022 18:56:05 +0000 Subject: [PATCH] Bug 30776: import missing subroutine to fix import_webservice_batch.pl Test plan: 1) Apply patch and notice the following error is gone: $ perl misc/cronjobs/import_webservice_batch.pl Undefined subroutine &main::GetStagedWebserviceBatches called at misc/cronjobs/import_webservice_batch.pl line 46. Signed-off-by: Marcel de Rooy Signed-off-by: Fridolin Somers --- misc/cronjobs/import_webservice_batch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/import_webservice_batch.pl b/misc/cronjobs/import_webservice_batch.pl index 5274410d73..ae9aa8614c 100755 --- a/misc/cronjobs/import_webservice_batch.pl +++ b/misc/cronjobs/import_webservice_batch.pl @@ -23,7 +23,7 @@ use utf8; use Getopt::Long qw( GetOptions ); use Koha::Script -cron; -use C4::ImportBatch qw( BatchCommitRecords ); +use C4::ImportBatch qw( BatchCommitRecords GetStagedWebserviceBatches ); my ($help, $framework); -- 2.39.5