Bugzilla – Attachment 44569 Details for
Bug 15151
t/Circulation_barcodedecode.t fails if no DB present
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15151 [Alternate] - t/Circulation_barcodedecode.t fails if no DB present
Bug-15151---tCirculationbarcodedecodet-fails-if-no.patch (text/plain), 1.04 KB, created by
Kyle M Hall (khall)
on 2015-11-06 14:39:49 UTC
(
hide
)
Description:
Bug 15151 [Alternate] - t/Circulation_barcodedecode.t fails if no DB present
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-11-06 14:39:49 UTC
Size:
1.04 KB
patch
obsolete
>From 4b5688f0ebae31fce70e0ae40b73dfe950525c30 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >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
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 15151
:
44568
|
44569
|
44570
|
44571
|
44573
|
44604