]> git.koha-community.org Git - koha.git/commit
Bug 29116: Use a pre-existing accessor instead of reimplementing it
authorJoonas Kylmälä <joonas.kylmala@iki.fi>
Sun, 26 Sep 2021 16:09:20 +0000 (16:09 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 12 Oct 2021 09:15:32 +0000 (11:15 +0200)
commit283b6b0c067da0117628bda6b5d8f97ec9581517
tree015795f2d9fd16085c609a68ae015af4bb0b2a1a
parentf3e5607e928d898fa9cde15163d74013d84ebc83
Bug 29116: Use a pre-existing accessor instead of reimplementing it

We can use the Koha::Patron::is_expired accessor instead of re-writing
it in request.pl.

To test:
 1) Make that a warning is being shown with and without this patch
    when placing a hold to an expired patron account

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
reserve/request.pl