Bug 17578: GetMemberDetails - Remove is_expired
commit5a0a2ce584dec74808f471b0f92b2114c3d6029e
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 7 Nov 2016 17:14:49 +0000 (7 18:14 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 16 Dec 2016 13:12:43 +0000 (16 13:12 +0000)
tree9854aece285f7e363a22978af2009d19bc217403
parent41493004f69caf471e8d73b7db2a64e433f57465
Bug 17578: GetMemberDetails - Remove is_expired

The is_expired value is used in 2 places, let's use
Koha::Patron->is_expired instead.

Test plan:
Depending on the different value of BlockExpiredPatronOpacActions for
the patron category, a patron must be blocked if he has expired.
Confirm that behavior from opac-renew and opac-reserve scripts

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Members.pm
opac/opac-renew.pl
opac/opac-reserve.pl
t/db_dependent/Members.t