[Koha-bugs] [Bug 15795] C4/Members.pm is floody (Norwegian Patron DB)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 11 09:59:55 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15795

Magnus Enger <magnus at libriotech.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |magnus at libriotech.no

--- Comment #4 from Magnus Enger <magnus at libriotech.no> ---
How about getting rid of both the if and the warn? So from this:

 use Module::Load::Conditional qw( can_load );
 if ( ! can_load( modules => { 'Koha::NorwegianPatronDB' => undef } ) ) {
    warn "Unable to load Koha::NorwegianPatronDB";
 }

to this:

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

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


More information about the Koha-bugs mailing list