]> git.koha-community.org Git - koha.git/commit
Bug 16851: Move HasOverdues to Koha::Patron->has_overdues
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 4 Jul 2016 16:56:54 +0000 (17:56 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 9 Sep 2016 09:57:59 +0000 (09:57 +0000)
commit7e4e4c06e67c455c9b429d6b619ec502d17a753a
tree540f10286a8289aaf142429169a34e7c40185f6f
parentdc847cabdfd5a90289b6f883a495537af2445643
Bug 16851: Move HasOverdues to Koha::Patron->has_overdues

This patch just move C4::Members::HasOverdues to
Koha::Patron->has_overdues and updated callers

Test plan:
No change in behavior is expected.
1/ If a patron is debarred and does not have overdues and
AutoRemoveOverduesRestrictions is on, the debarment will be removed on
checkin
2/ Add overdues and make sure the patron cannot renew

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Circulation.pm
C4/Members.pm
Koha/Patron.pm
Koha/Template/Plugin/Borrowers.pm
t/db_dependent/Koha/Patrons.t