[Koha-bugs] [Bug 16034] Integration with OverDrive Patron API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 1 09:12:15 CET 2017


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

--- Comment #74 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Srdjan Jankovic from comment #73)
> Is there a standard way we skip that kind of tests?

We already kind of the same thing in C4::Members for the Norvegian specific ft.
I guess thing like:

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

in place of the use statement would do the trick.

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


More information about the Koha-bugs mailing list