Bugzilla – Attachment 62959 Details for
Bug 17600
Standardize the EXPORT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17600: re-Rerun the script to update use statements
Bug-17600-re-Rerun-the-script-to-update-use-statem.patch (text/plain), 4.24 KB, created by
Jonathan Druart
on 2017-05-02 14:38:28 UTC
(
hide
)
Description:
Bug 17600: re-Rerun the script to update use statements
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-05-02 14:38:28 UTC
Size:
4.24 KB
patch
obsolete
>From 08f39e2312b42d3595c37b66babd3d043f630607 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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<Search> 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17600
:
57394
|
57950
|
57951
|
57952
|
57953
|
57954
|
61994
|
61995
|
61996
|
61997
|
61998
|
62209
|
62210
|
62211
|
62212
|
62213
|
62940
|
62941
|
62942
|
62943
|
62958
|
62959
|
64387
|
64388
|
64389
|
64390
|
64391
|
64392
|
64466
|
64467
|
64468
|
64469
|
64470
|
64471
|
64472
|
64473
|
64474
|
64475
|
64476
|
121309
|
121310
|
121311
|
121312
|
121313
|
121314
|
122360
|
122361
|
122362
|
122363
|
122364
|
122365
|
122869
|
122884
|
122945
|
123194
|
123195
|
123196
|
123200
|
123210
|
123281
|
123283
|
123284
|
123325
|
123417
|
123418
|
123419
|
123420
|
123565
|
124866
|
125059
|
125063
|
125064
|
125066
|
126640
|
127056
|
127918