From 278e7732db6d458275d3d1922725bf608d7bcaed Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 6 Nov 2015 09:36:05 -0500 Subject: [PATCH] Bug 15151 - t/Circulation_barcodedecode.t fails if no DB present Test Plan: 1) Shut down database 2) prove t/Circulation_barcodedecode.t should fail 3) Apply this patch 4) prove t/Circulation_barcodedecode.t should not fail! --- C4/Members.pm | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/C4/Members.pm b/C4/Members.pm index 171f3c0..6ebd7c7 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -41,10 +41,7 @@ use Koha::Borrower::Debarments qw(IsDebarred); use Text::Unaccent qw( unac_string ); use Koha::AuthUtils qw(hash_password); use Koha::Database; -use Module::Load; -if ( C4::Context->preference('NorwegianPatronDBEnable') && C4::Context->preference('NorwegianPatronDBEnable') == 1 ) { - load Koha::NorwegianPatronDB, qw( NLUpdateHashedPIN NLEncryptPIN NLSync ); -} +use Koha::NorwegianPatronDB qw( NLUpdateHashedPIN NLEncryptPIN NLSync ); our ($VERSION,@ISA,@EXPORT,@EXPORT_OK,$debug); -- 1.7.2.5