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

Magnus Enger <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Magnus Enger <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to