From cbb3835567f660c2c15a7cbcbac8660e736a2082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?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. --- 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.30.2