X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=tools%2Fstage-marc-import.pl;h=7653bc6893cbda93f1f4301f1e7b6fff77893e41;hb=9d6d641d1f8b77271800f43bc027b651f9aea52b;hp=e9afdc1461c5e9d364e0880b2f8dc28bb1811b3e;hpb=6f204fdf96f16340da184aa27142a391871dcc37;p=srvgit diff --git a/tools/stage-marc-import.pl b/tools/stage-marc-import.pl index e9afdc1461..7653bc6893 100755 --- a/tools/stage-marc-import.pl +++ b/tools/stage-marc-import.pl @@ -33,14 +33,13 @@ use MARC::File::USMARC; # Koha modules used use C4::Context; -use C4::Auth; -use C4::Output; -use C4::Biblio; -use C4::ImportBatch; +use C4::Auth qw( get_template_and_user ); +use C4::Output qw( output_html_with_http_headers ); +use C4::ImportBatch qw( RecordsFromMARCXMLFile RecordsFromISO2709File RecordsFromMarcPlugin BatchStageMarcRecords BatchFindDuplicates SetImportBatchMatcher SetImportBatchOverlayAction SetImportBatchNoMatchAction SetImportBatchItemAction ); use C4::Matcher; use Koha::UploadedFiles; use C4::BackgroundJob; -use C4::MarcModificationTemplates; +use C4::MarcModificationTemplates qw( GetModificationTemplates ); use Koha::Plugins; use Koha::ImportBatches;