[Koha-bugs] [Bug 15182] make test fails immediately on 3.22.00-beta due to missing Crypt::GCrypt which is optional
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 17 02:18:33 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15182
--- Comment #10 from David Cook <dcook at prosentient.com.au> ---
Comment on attachment 44844
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44844
[SIGNED-OFF]Bug 15182: Continue to consider Crypt::GCrypt optional
Review of attachment 44844:
--> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15182&attachment=44844)
-----------------------------------------------------------------
::: C4/Members.pm
@@ +42,5 @@
> use Koha::Database;
> +
> +use Module::Load::Conditional qw( can_load );
> +if ( can_load( modules => { 'Koha::NorwegianPatronDB' => undef } ) ) {
> + load Koha::NorwegianPatronDB, qw( NLUpdateHashedPIN NLEncryptPIN NLSync );
Perhaps "load" should be replaced with "Module::Load::load".
I don't know why it's working for others, but I'm guessing that will fix it for
her...
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list