Browse Source

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 <chrisc@catalyst.net.nz>
3.6.x-rmaint/testing
Colin Campbell 14 years ago
committed by Chris Cormack
parent
commit
b9ccc51841
  1. 2
      C4/ILSDI/Services.pm
  2. 2
      C4/ILSDI/Utility.pm

2
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;

2
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);

Loading…
Cancel
Save