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 <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Joonas Kylmälä 2022-05-16 18:56:05 +00:00 committed by Fridolin Somers
parent de4434bd4a
commit be9aead2b1

View file

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