From b9ccc5184197e2bf4bf6697edfdb9e70963fdee6 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Fri, 26 Nov 2010 17:27:13 +0000 Subject: [PATCH] Bug 5450 Avoid a name clash in ILSDI modules C4::ILSDI::Utility exports a subroutine CanBookBeReserved Both ILSDI were also importing a subroutine of that name from C4::Reserves Remove conflict by listing subroutines imported from C4::Reserves explicitly Signed-off-by: Chris Cormack --- C4/ILSDI/Services.pm | 2 +- C4/ILSDI/Utility.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index c99f2a9d8e..ba0c429052 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -26,7 +26,7 @@ use C4::Circulation; use C4::Branch; use C4::Accounts; use C4::Biblio; -use C4::Reserves; +use C4::Reserves qw(AddReserve CancelReserve GetReservesFromBiblionumber GetReservesFromBorrowernumber); use C4::Context; use C4::AuthoritiesMarc; use C4::ILSDI::Utility; diff --git a/C4/ILSDI/Utility.pm b/C4/ILSDI/Utility.pm index 708ba21493..8ee1224e64 100644 --- a/C4/ILSDI/Utility.pm +++ b/C4/ILSDI/Utility.pm @@ -24,7 +24,7 @@ use C4::Members; use C4::Items; use C4::Circulation; use C4::Biblio; -use C4::Reserves; +use C4::Reserves qw(GetReservesFromBorrowernumber); use C4::Context; use C4::Branch qw/GetBranchName/; use Digest::MD5 qw(md5_base64); -- 2.20.1