Bugzilla – Attachment 64392 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), 6.29 KB, created by
Jonathan Druart
on 2017-06-16 14:17:01 UTC
(
hide
)
Description:
Bug 17600: re-Rerun the script to update use statements
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-16 14:17:01 UTC
Size:
6.29 KB
patch
obsolete
>From c8c38088a2a9d9fc6c8d0968e41a66e0bdba38b4 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/Acquisition.pm | 2 +- > C4/AuthoritiesMarc.pm | 2 +- > C4/Circulation.pm | 2 +- > C4/Items.pm | 2 +- > C4/Overdues.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 +- > 11 files changed, 11 insertions(+), 11 deletions(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index 23971b5fcd..a780623f57 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -23,7 +23,7 @@ use Carp; > use C4::Context; > use C4::Debug; > use C4::Suggestions; >-use C4::Biblio qw( GetBiblio GetBiblioData GetBiblionumberFromItemnumber GetFrameworkCode GetMarcFromKohaField DelBiblio GetMarcStructure IsMarcStructureInternal ); >+use C4::Biblio qw( GetBiblio GetBiblioData GetBiblioItemByBiblioNumber GetBiblionumberFromItemnumber GetFrameworkCode GetMarcFromKohaField DelBiblio GetMarcStructure IsMarcStructureInternal ); > use C4::Contract qw( GetContract ); > use C4::Debug; > use C4::Templates qw(gettemplate); >diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm >index e4951f293e..d43b6c0e93 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/Circulation.pm b/C4/Circulation.pm >index 90423cdcea..d13eb9a069 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -28,7 +28,7 @@ use C4::Stats qw( UpdateStats ); > use C4::Reserves qw( CheckReserves CanItemBeReserved MoveReserve ModReserve ModReserveStatus IsItemOnHoldAndFound IsAvailableForItemLevelRequest ); > use C4::Biblio qw( GetBiblio GetBiblioFromItemNumber GetBiblioItemData UpdateTotalIssues GetBiblioData ); > use C4::Items qw( GetItem GetItemnumberFromBarcode ModItem ModItemTransfer ModDateLastSeen CartToShelf ShelfToCart ); >-use C4::Members qw( GetMember patronflags GetMemberAccountBalance ); >+use C4::Members qw( GetMember patronflags GetMemberAccountBalance GetMemberAccountRecords ); > use C4::Accounts qw( getnextacctno chargelostitem ); > use C4::ItemCirculationAlertPreference; > use C4::Message; >diff --git a/C4/Items.pm b/C4/Items.pm >index 4c37b59c53..e2dbe1c245 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/Overdues.pm b/C4/Overdues.pm >index d80ad53fc9..876c15341a 100644 >--- a/C4/Overdues.pm >+++ b/C4/Overdues.pm >@@ -33,7 +33,7 @@ use C4::Context; > use C4::Accounts qw( getnextacctno ); > use C4::Log qw( logaction ); > use C4::Debug; >-use Koha::DateUtils qw( dt_from_string output_pref ); >+use Koha::DateUtils qw( dt_from_string ); > use Koha::Account::Line; > use Koha::Account::Lines; > use Koha::IssuingRules; >diff --git a/C4/Search.pm b/C4/Search.pm >index 359d209b76..68f79c158c 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 6a664292a8..910c1c69fc 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 c3f5ca71f7..6f5520feb1 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 a3786cbab3..a8c174b5c5 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 fdaf7d373d..f9c9b39838 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 f9c60202f1..adfbbf32ee 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.11.0
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