Bug 17600: Fix other occurrences in svc
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
18aff2331c
commit
3a6bb271c4
|
|
@ -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
|
||||
|
||||
|
|
|
|||
4
svc/bib
4
svc/bib
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue