@@ -, +, @@ - scripts --- acqui/addorderiso2709.pl | 2 +- admin/matching-rules.pl | 2 +- misc/cronjobs/share_usage_with_koha_community.pl | 2 +- opac/opac-search.pl | 2 +- tools/manage-marc-import.pl | 2 +- tools/stage-marc-import.pl | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) --- a/acqui/addorderiso2709.pl +++ a/acqui/addorderiso2709.pl @@ -31,7 +31,7 @@ use C4::Context; use C4::Auth qw( get_template_and_user ); use C4::Output qw( output_html_with_http_headers ); use C4::ImportBatch qw( GetImportRecordsRange GetImportRecordMarc GetImportRecordMatches SetImportRecordStatus GetImportBatch GetImportBatchRangeDesc SetImportBatchStatus GetNumberOfNonZ3950ImportBatches GetImportBatchOverlayAction GetImportBatchNoMatchAction GetImportBatchItemAction ); -use C4::Matcher; +use C4::Matcher qw( GetMatcherList ); use C4::Search qw( FindDuplicate ); use C4::Acquisition qw( GetBasket populate_order_with_prices ); use C4::Biblio qw( GetMarcQuantity GetMarcFromKohaField AddBiblio BiblioAutoLink GetMarcPrice TransformHtmlToXml ); --- a/admin/matching-rules.pl +++ a/admin/matching-rules.pl @@ -26,7 +26,7 @@ use C4::Auth qw( get_template_and_user ); use C4::Context; use C4::Output qw( output_html_with_http_headers ); use C4::Koha; -use C4::Matcher qw/valid_normalization_routines/; +use C4::Matcher qw( valid_normalization_routines GetMatcherList ); my $script_name = "/cgi-bin/koha/admin/matching-rules.pl"; --- a/misc/cronjobs/share_usage_with_koha_community.pl +++ a/misc/cronjobs/share_usage_with_koha_community.pl @@ -6,7 +6,7 @@ use Pod::Usage; use Getopt::Long; use C4::Context; -use C4::UsageStats; +use C4::UsageStats qw( NeedUpdate BuildReport ReportToCommunity ); use C4::Log qw( logaction cronlogaction ); use POSIX qw(strftime); --- a/opac/opac-search.pl +++ a/opac/opac-search.pl @@ -49,7 +49,7 @@ use C4::Search qw( pazGetRecords searchResults ); use C4::Biblio qw( GetXmlBiblio GetMarcBiblio GetCOinSBiblio CountItemsIssued ); use C4::Koha qw( GetItemTypesCategorized getitemtypeinfo getitemtypeimagelocation GetAuthorisedValues ); use C4::Tags qw( get_tags get_tag ); -use C4::SocialData; +use C4::SocialData qw( get_data ); use C4::External::OverDrive qw( IsOverDriveEnabled ); use Koha::LibraryCategories; --- a/tools/manage-marc-import.pl +++ a/tools/manage-marc-import.pl @@ -33,7 +33,7 @@ use C4::Auth qw( get_template_and_user ); use C4::Output qw( output_html_with_http_headers ); use C4::Biblio; use C4::ImportBatch qw( CleanBatch DeleteBatch GetImportBatch GetImportBatchOverlayAction GetImportBatchNoMatchAction GetImportBatchItemAction SetImportBatchOverlayAction SetImportBatchNoMatchAction SetImportBatchItemAction BatchFindDuplicates SetImportBatchMatcher GetItemNumbersFromImportBatch GetImportBatchRangeDesc GetNumberOfNonZ3950ImportBatches BatchCommitRecords BatchRevertRecords ); -use C4::Matcher; +use C4::Matcher qw( GetMatcherList ); use C4::BackgroundJob; use C4::Labels::Batch; use Koha::BiblioFrameworks; --- a/tools/stage-marc-import.pl +++ a/tools/stage-marc-import.pl @@ -38,7 +38,7 @@ use C4::Auth qw( get_template_and_user ); use C4::Output qw( output_html_with_http_headers ); use C4::Biblio; use C4::ImportBatch qw( RecordsFromMARCXMLFile RecordsFromISO2709File BatchStageMarcRecords BatchFindDuplicates SetImportBatchMatcher SetImportBatchOverlayAction SetImportBatchNoMatchAction SetImportBatchItemAction ); -use C4::Matcher; +use C4::Matcher qw( GetMatcherList ); use Koha::UploadedFiles; use C4::BackgroundJob; use C4::MarcModificationTemplates qw( GetModificationTemplates ); --