Bugzilla – Attachment 64470 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: Rerun the script to update use statements
Bug-17600-Rerun-the-script-to-update-use-statement.patch (text/plain), 7.79 KB, created by
Jonathan Druart
on 2017-06-20 19:31:46 UTC
(
hide
)
Description:
Bug 17600: Rerun the script to update use statements
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-20 19:31:46 UTC
Size:
7.79 KB
patch
obsolete
>From 22c86d4a754cce4a70816f6e5d9e15ff21029611 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 10 Apr 2017 09:06:35 -0300 >Subject: [PATCH] Bug 17600: Rerun the script to update use statements > >--- > C4/Auth_with_shibboleth.pm | 4 ++-- > C4/Biblio.pm | 2 +- > C4/Circulation.pm | 2 +- > C4/HoldsQueue.pm | 2 +- > C4/ILSDI/Services.pm | 6 +++--- > C4/Items.pm | 2 +- > C4/Reserves.pm | 6 +++--- > C4/Search.pm | 2 +- > Koha/BiblioUtils/Iterator.pm | 2 +- > Koha/Checkout.pm | 2 +- > Koha/ExternalContent.pm | 2 +- > Koha/Patrons.pm | 2 +- > Koha/UploadedFiles.pm | 2 +- > 13 files changed, 18 insertions(+), 18 deletions(-) > >diff --git a/C4/Auth_with_shibboleth.pm b/C4/Auth_with_shibboleth.pm >index 31b3c409b5..b09cf1d804 100644 >--- a/C4/Auth_with_shibboleth.pm >+++ b/C4/Auth_with_shibboleth.pm >@@ -23,8 +23,8 @@ use C4::Debug; > use C4::Context; > use Koha::AuthUtils qw( get_script_name ); > use Koha::Database; >-use C4::Members qw( AddMember_Auto ); >-use C4::Members::Messaging; >+use C4::Members qw( AddMember AddMember_Auto ); >+use C4::Members qw( AddMember AddMember_Auto ); > use Carp; > use CGI; > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index 58f95b8492..cbca8a1878 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -29,7 +29,7 @@ use MARC::File::XML; > use POSIX qw(strftime); > use Module::Load::Conditional qw(can_load); > >-use C4::Koha qw( get_infos_of getitemtypeinfo ); >+use C4::Koha qw( getitemtypeinfo ); > use C4::Log qw( logaction ); > use C4::Budgets; > use C4::ClassSource qw( GetClassSort ); >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 591aad1d4e..90423cdcea 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( GetMemberDetails GetMember GetMemberAccountBalance GetAge ); >+use C4::Members qw( GetMember patronflags GetMemberAccountBalance ); > use C4::Accounts qw( getnextacctno chargelostitem ); > use C4::ItemCirculationAlertPreference; > use C4::Message; >diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm >index 4ba6c7244f..5b85584d8e 100755 >--- a/C4/HoldsQueue.pm >+++ b/C4/HoldsQueue.pm >@@ -27,7 +27,7 @@ use C4::Search; > use C4::Items qw( GetItem ); > use C4::Circulation qw( GetTransfers GetBranchItemRule ); > use C4::Members qw( GetMember ); >-use C4::Biblio qw( GetHolds GetMarcBiblio GetRecordValue GetBiblioData GetBiblio ); >+use C4::Biblio qw( GetMarcBiblio GetRecordValue GetBiblioData GetBiblio ); > use Koha::DateUtils qw( dt_from_string ); > > use List::Util qw(shuffle); >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index 7719f6dbfa..a2e13b44b6 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -20,8 +20,8 @@ package C4::ILSDI::Services; > use strict; > use warnings; > >-use C4::Members qw( GetMember GetPendingIssues ); >-use C4::Items qw( GetItem GetItemsByBiblioitemnumber ); >+use C4::Members qw( GetMember patronflags GetPendingIssues ); >+use C4::Items qw( GetItem GetItemnumbersForBiblio GetItemsByBiblioitemnumber ); > use C4::Circulation qw( GetBiblioIssues CanBookBeRenewed barcodedecode decode CanBookBeIssued AddRenewal GetItemIssue ); > use C4::Accounts qw( getcharges ); > use C4::Biblio qw( GetBiblioItemByBiblioNumber GetBiblio GetMarcBiblio GetBiblioFromItemNumber ); >@@ -33,7 +33,7 @@ use HTML::Entities; > use CGI qw ( -utf8 ); > use DateTime; > use C4::Auth qw( checkpw ); >-use C4::Members qw( GetMember GetMemberDetails GetPendingIssues ); >+use C4::Members qw( GetMember patronflags GetPendingIssues ); > > use Koha::Biblios; > use Koha::Libraries; >diff --git a/C4/Items.pm b/C4/Items.pm >index cec4c9ad0c..4c37b59c53 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 get_infos_of GetItemTypes ); >+use C4::Koha qw( IsKohaFieldLinked GetItemTypes ); > 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/Reserves.pm b/C4/Reserves.pm >index d2de3e9101..a4d652bf66 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -25,14 +25,14 @@ use strict; > #use warnings; FIXME - Bug 2505 > use C4::Context; > use C4::Biblio qw( GetBiblioData GetBiblio ); >-use C4::Members qw( GetMember GetAge GetNoticeEmailAddress ); >+use C4::Members qw( GetMember GetNoticeEmailAddress ); > use C4::Items qw( GetItem GetItemnumbersForBiblio get_hostitemnumbers_of ModItem ModItemTransfer CartToShelf ); > use C4::Circulation qw( GetAgeRestriction _GetCircControlBranch GetBranchItemRule ); > use C4::Accounts qw( getnextacctno manualinvoice ); > > # for _koha_notify_reserve >-use C4::Members qw( GetMember GetAge GetNoticeEmailAddress ); >-use C4::Members qw( GetMember GetAge GetNoticeEmailAddress ); >+use C4::Members qw( GetMember GetNoticeEmailAddress ); >+use C4::Members qw( GetMember GetNoticeEmailAddress ); > use C4::Letters qw( GetPreparedLetter EnqueueLetter ); > use C4::Log qw( logaction ); > >diff --git a/C4/Search.pm b/C4/Search.pm >index 6d83b1356f..359d209b76 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -21,7 +21,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 Koha::DateUtils qw( dt_from_string output_pref ); >+use Koha::DateUtils qw( output_pref ); > use Koha::Libraries; > use Lingua::Stem; > use C4::Search::PazPar2; >diff --git a/Koha/BiblioUtils/Iterator.pm b/Koha/BiblioUtils/Iterator.pm >index 54aad99c9e..4332ae19ce 100644 >--- a/Koha/BiblioUtils/Iterator.pm >+++ b/Koha/BiblioUtils/Iterator.pm >@@ -43,7 +43,7 @@ Returns biblionumber and marc in list context. > > =cut > >-use C4::Biblio qw( EmbedItemsInMarcBiblio ); >+use C4::Biblio qw( GetXmlBiblio EmbedItemsInMarcBiblio ); > > use Carp; > use MARC::Record; >diff --git a/Koha/Checkout.pm b/Koha/Checkout.pm >index b7a752cdc5..2f34707f21 100644 >--- a/Koha/Checkout.pm >+++ b/Koha/Checkout.pm >@@ -24,7 +24,7 @@ use Carp; > > use Koha::Database; > use DateTime; >-use Koha::DateUtils; >+use Koha::DateUtils qw( dt_from_string ); > use Koha::Items; > > use base qw(Koha::Object); >diff --git a/Koha/ExternalContent.pm b/Koha/ExternalContent.pm >index 7f5d8ed222..6e8d195059 100644 >--- a/Koha/ExternalContent.pm >+++ b/Koha/ExternalContent.pm >@@ -23,7 +23,7 @@ use base qw(Class::Accessor); > > use Koha; > use Koha::Patrons; >-use C4::Auth; >+use C4::Auth qw( get_session ); > > __PACKAGE__->mk_accessors(qw(client koha_session_id koha_patron)); > >diff --git a/Koha/Patrons.pm b/Koha/Patrons.pm >index 263cec72a4..6579ef17f3 100644 >--- a/Koha/Patrons.pm >+++ b/Koha/Patrons.pm >@@ -23,7 +23,7 @@ use Modern::Perl; > use Carp; > > use Koha::Database; >-use Koha::DateUtils; >+use Koha::DateUtils qw( dt_from_string ); > > use Koha::ArticleRequests; > use Koha::ArticleRequest::Status; >diff --git a/Koha/UploadedFiles.pm b/Koha/UploadedFiles.pm >index b6804f299b..f9c60202f1 100644 >--- a/Koha/UploadedFiles.pm >+++ b/Koha/UploadedFiles.pm >@@ -19,7 +19,7 @@ package Koha::UploadedFiles; > > use Modern::Perl; > >-use C4::Koha; >+use C4::Koha qw( GetAuthorisedValues ); > use Koha::Database; > use Koha::DateUtils; > use Koha::UploadedFile; >-- >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