Bug 17600: Fix other occurrences in svc

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-07-26 16:41:07 +02:00
parent 18aff2331c
commit 3a6bb271c4
7 changed files with 14 additions and 12 deletions

View File

@ -31,9 +31,11 @@ use Carp qw( carp croak );
use Koha::Database;
use base 'Exporter';
our @EXPORT = (
qw(
our (@ISA, @EXPORT_OK);
BEGIN {
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(
GetPatronLists
DelPatronList
@ -42,8 +44,8 @@ our @EXPORT = (
AddPatronsToList
DelPatronsFromList
)
);
);
}
=head2 GetPatronLists

View File

@ -22,8 +22,8 @@
use Modern::Perl;
use CGI qw ( -utf8 );
use C4::Auth qw/check_api_auth/;
use C4::Biblio;
use C4::Auth qw( check_api_auth );
use C4::Biblio qw( GetFrameworkCode );
use C4::Items;
use XML::Simple;

View File

@ -23,7 +23,7 @@ use Modern::Perl;
use CGI;
use JSON qw(to_json);
use C4::Circulation;
use C4::Circulation qw( AddReturn );
use C4::Context;
use C4::Auth qw(check_cookie_auth);
use Koha::Checkouts;

View File

@ -23,7 +23,7 @@ use Modern::Perl;
use CGI qw ( -utf8 );
use C4::Auth qw/check_api_auth/;
use C4::Context;
use C4::ImportBatch;
use C4::ImportBatch qw( GetWebserviceBatchId AddBiblioToBatch AddItemsToImportBiblio BatchFindDuplicates BatchCommitRecords );
use C4::Matcher;
use XML::Simple;
# use Carp::Always;

View File

@ -22,7 +22,7 @@ use CGI;
use C4::Auth qw( check_cookie_auth );
use JSON qw( to_json );
use Koha::List::Patron;
use Koha::List::Patron qw( AddPatronList GetPatronLists AddPatronsToList );
my $input = CGI->new;

View File

@ -23,7 +23,7 @@ use CGI;
use JSON qw(to_json);
use Try::Tiny;
use C4::Circulation;
use C4::Circulation qw( AddRenewal CanBookBeRenewed );
use C4::Context;
use C4::Auth qw(check_cookie_auth);

View File

@ -23,7 +23,7 @@ use Modern::Perl;
use C4::Auth qw( get_template_and_user );
use C4::Reports::Guided qw( execute_query );
use Koha::Reports;
use JSON;
use JSON qw( encode_json decode_json );
use CGI qw ( -utf8 );
use Koha::Caches;