[Koha-bugs] [Bug 15135] Remove Warning Subroutine HasOverdues redefined

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 11 10:13:53 CET 2016


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #16 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
If I understood correctly, the problem is that we now have
Borrowers::HasOverdues and Members::HasOverdues and similar for IsDebarred.
Looking at the Borrowers plugin, not importing Overdues from Members there,
resolves the warning for now and is consistent with the IsDebarred case. So I
agree with Jonathan.

Marc: Could you adjust your patch?

Too bad btw that TT forces us to create a stub for each Koha routine we want to
call in the templates. (Exception for OO modules as below)

>From the TT docs:
===
If a regular Perl module supports an object-oriented interface and a new()
constructor then it can be loaded and instantiated automatically like:
[% USE file = IO.File('/tmp/mydata') %]
===

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


More information about the Koha-bugs mailing list