Bugzilla – Attachment 44571 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.09 KB, created by
Kyle M Hall (khall)
on 2015-11-06 14:41:55 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:41:55 UTC
Size:
1.09 KB
patch
obsolete
>From 278e7732db6d458275d3d1922725bf608d7bcaed 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 | 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
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