[Koha-bugs] [Bug 11401] Add support for Norwegian national library card

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 15 14:59:55 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11401

--- Comment #13 from Magnus Enger <magnus at enger.priv.no> ---
(In reply to Chris Cormack from comment #8)
> The only suggestion I have is that we could perhaps use
> Module::Load::Conditional
> in C4/Members.pm, so that we don't have to load the module unless we need it.

Something like 

  use Module::Load::Conditional qw( can_load );
  can_load( modules => { 'Koha::NorwegianPatronDB qw( NLUpdateHashedPIN
NLEncryptPIN NLSync )' => undef } );

instead of plain old 

  use Koha::NorwegianPatronDB qw( NLUpdateHashedPIN NLEncryptPIN NLSync );

?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list