From 4b5688f0ebae31fce70e0ae40b73dfe950525c30 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 | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/C4/Members.pm b/C4/Members.pm index 171f3c0..ce883a2 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -42,9 +42,7 @@ 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