@@ -, +, @@ (and remove uses where don't) --- C4/XSLT.pm | 1 + Koha/Exporter/Record.pm | 2 ++ Koha/UI/Form/Builder/Item.pm | 1 + cataloguing/addholding.pl | 1 + cataloguing/additem.pl | 1 - misc/migration_tools/bulkmarcimport.pl | 1 - t/db_dependent/Exporter/Record.t | 1 - t/db_dependent/Koha/Item.t | 1 - 8 files changed, 5 insertions(+), 4 deletions(-) --- a/C4/XSLT.pm +++ a/C4/XSLT.pm @@ -30,6 +30,7 @@ use Koha::AuthorisedValues; use Koha::ItemTypes; use Koha::XSLT::Base; use Koha::Libraries; +use Koha::Holdings; my $engine; #XSLT Handler object my %authval_per_framework; --- a/Koha/Exporter/Record.pm +++ a/Koha/Exporter/Record.pm @@ -11,6 +11,8 @@ use Koha::CsvProfiles; use Koha::Logger; use List::Util qw( all any ); +use Koha::Holdings; + sub _get_record_for_export { my ($params) = @_; my $record_type = $params->{record_type}; --- a/Koha/UI/Form/Builder/Item.pm +++ a/Koha/UI/Form/Builder/Item.pm @@ -24,6 +24,7 @@ use C4::ClassSource qw( GetClassSources ); use Koha::DateUtils qw( dt_from_string ); use Koha::Libraries; +use Koha::Holdings; =head1 NAME --- a/cataloguing/addholding.pl +++ a/cataloguing/addholding.pl @@ -36,6 +36,7 @@ use Koha::DateUtils qw( dt_from_string ); use Koha::ItemTypes; use Koha::Libraries; +use Koha::Holdings; use Date::Calc qw(Today); use MARC::File::USMARC; --- a/cataloguing/additem.pl +++ a/cataloguing/additem.pl @@ -37,7 +37,6 @@ use C4::Circulation qw( barcodedecode LostItem ); use C4::Barcodes; use C4::Barcodes::ValueBuilder; use Koha::DateUtils qw( dt_from_string ); -use Koha::Holdings; use Koha::Items; use Koha::ItemTypes; use Koha::Libraries; --- a/misc/migration_tools/bulkmarcimport.pl +++ a/misc/migration_tools/bulkmarcimport.pl @@ -36,7 +36,6 @@ use FindBin (); use Koha::Logger; use Koha::Biblios; -use Koha::Holdings; use Koha::SearchEngine; use Koha::SearchEngine::Search; --- a/t/db_dependent/Exporter/Record.t +++ a/t/db_dependent/Exporter/Record.t @@ -38,7 +38,6 @@ use Koha::Biblio::Metadata; use Koha::Biblio::Metadatas; use Koha::BiblioFramework; use Koha::BiblioFrameworks; -use Koha::Holdings; my $schema = Koha::Database->new->schema; $schema->storage->txn_begin; --- a/t/db_dependent/Koha/Item.t +++ a/t/db_dependent/Koha/Item.t @@ -27,7 +27,6 @@ use C4::Biblio qw( GetMarcSubfieldStructure ); use C4::Circulation qw( AddIssue AddReturn ); use Koha::Caches; -use Koha::Holdings; use Koha::Items; use Koha::Database; use Koha::DateUtils qw( dt_from_string ); --