]> git.koha-community.org Git - koha.git/commit
Bug 35001: Simplify ->is_active in light of activity triggers
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 12 Oct 2023 14:10:51 +0000 (14:10 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 24 Oct 2023 18:44:31 +0000 (15:44 -0300)
commit5c2c6252fa3d14342d9cb481119c0d06bf93c7d2
tree430d9a987d58008abc1cac08aef8ba7a8815a0d3
parent7d783c21efb1a5f786d00f725794c1b42bb85e50
Bug 35001: Simplify ->is_active in light of activity triggers

The fact that we update lastseen for various triggers now, makes
it a bit easier to let go of those 'hardcoded queries' ;)

Test plan:
Run t/db_dependent/Koha/Patron.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patron.pm
t/db_dependent/Koha/Patron.t