From 08f39e2312b42d3595c37b66babd3d043f630607 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 2 May 2017 11:37:52 -0300 Subject: [PATCH] Bug 17600: re-Rerun the script to update use statements --- C4/AuthoritiesMarc.pm | 2 +- C4/Items.pm | 2 +- C4/Search.pm | 2 +- C4/XSLT.pm | 2 +- Koha/Authority/MergeRequests.pm | 2 +- Koha/ItemTypes.pm | 2 +- Koha/SearchEngine/Search.pm | 2 +- Koha/UploadedFiles.pm | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index e4951f2..d43b6c0 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -21,7 +21,7 @@ use strict; use warnings; use C4::Context; use MARC::Record; -use C4::Biblio qw( ModZebra GetMarcFromKohaField GetMarcBiblio ModBiblio GetFrameworkCode ); +use C4::Biblio qw( ModZebra GetMarcBiblio ModBiblio GetFrameworkCode ); use C4::Search qw( FindDuplicate new_record_from_zebra ); use C4::AuthoritiesMarc::MARC21; use C4::AuthoritiesMarc::UNIMARC; diff --git a/C4/Items.pm b/C4/Items.pm index edee425..83d7772 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -23,7 +23,7 @@ use strict; use Carp; use C4::Context; -use C4::Koha qw( IsKohaFieldLinked GetItemTypes ); +use C4::Koha qw( IsKohaFieldLinked ); use C4::Biblio qw( GetFrameworkCode GetMarcFromKohaField TransformMarcToKoha ModZebra AddBiblio GetBiblionumberFromItemnumber GetBiblio GetMarcBiblio TransformKohaToMarc GetMarcStructure IsMarcStructureInternal ); use Koha::DateUtils qw( dt_from_string output_pref ); use MARC::Record; diff --git a/C4/Search.pm b/C4/Search.pm index 359d209..68f79c1 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -20,7 +20,7 @@ use strict; use C4::Context; use C4::Biblio qw( TransformMarcToKoha GetMarcFromKohaField GetFrameworkCode GetRecordValue GetMarcBiblio GetAuthorisedValueDesc GetBiblioData GetBiblio ); -use C4::Koha qw( getFacets GetVariationsOfISBN GetItemTypes getitemtypeimagelocation GetNormalizedUPC GetNormalizedEAN GetNormalizedOCLCNumber GetNormalizedISBN ); +use C4::Koha qw( getFacets GetVariationsOfISBN getitemtypeimagelocation GetNormalizedUPC GetNormalizedEAN GetNormalizedOCLCNumber GetNormalizedISBN ); use Koha::DateUtils qw( output_pref ); use Koha::Libraries; use Lingua::Stem; diff --git a/C4/XSLT.pm b/C4/XSLT.pm index 6a66429..910c1c6 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -25,7 +25,7 @@ use Modern::Perl; use C4::Context; use C4::Items qw( GetItem GetItemsInfo ); -use C4::Koha qw( GetItemTypes xml_escape ); +use C4::Koha qw( xml_escape ); use C4::Biblio qw( GetFrameworkCode GetMarcStructure GetAuthorisedValueDesc ); use C4::Circulation qw( GetTransfers ); use C4::Reserves qw( GetReserve GetReserveStatus ); diff --git a/Koha/Authority/MergeRequests.pm b/Koha/Authority/MergeRequests.pm index c3f5ca7..6f5520f 100644 --- a/Koha/Authority/MergeRequests.pm +++ b/Koha/Authority/MergeRequests.pm @@ -24,7 +24,7 @@ use MARC::Record; use C4::Context; use Koha::Authority::MergeRequest; use Koha::Database; -use Koha::DateUtils; +use Koha::DateUtils qw( dt_from_string ); use parent qw(Koha::Objects); diff --git a/Koha/ItemTypes.pm b/Koha/ItemTypes.pm index a3786cb..a8c174b 100644 --- a/Koha/ItemTypes.pm +++ b/Koha/ItemTypes.pm @@ -19,7 +19,7 @@ use Modern::Perl; use Carp; -use C4::Languages; +use C4::Languages qw( getlanguage ); use Koha::Database; use Koha::ItemType; diff --git a/Koha/SearchEngine/Search.pm b/Koha/SearchEngine/Search.pm index fdaf7d3..f9c9b39 100644 --- a/Koha/SearchEngine/Search.pm +++ b/Koha/SearchEngine/Search.pm @@ -45,7 +45,7 @@ Creates a new C of whatever the relevant type is. use Modern::Perl; use C4::Context; -use C4::Biblio qw//; +use C4::Biblio qw( GetMarcFromKohaField ); sub new { my $engine = C4::Context->preference("SearchEngine") // 'Zebra'; diff --git a/Koha/UploadedFiles.pm b/Koha/UploadedFiles.pm index f9c6020..adfbbf3 100644 --- a/Koha/UploadedFiles.pm +++ b/Koha/UploadedFiles.pm @@ -21,7 +21,7 @@ use Modern::Perl; use C4::Koha qw( GetAuthorisedValues ); use Koha::Database; -use Koha::DateUtils; +use Koha::DateUtils qw( dt_from_string ); use Koha::UploadedFile; use parent qw(Koha::Objects); -- 2.9.3