]> git.koha-community.org Git - koha.git/commit
Bug 21549: Lock expired patron accounts
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 11 Oct 2018 13:34:48 +0000 (15:34 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Apr 2021 13:34:27 +0000 (15:34 +0200)
commit1e85ac9612fd942bf613d52f2e3f06fc0da28162
treed5c1a7d6d0b4644a589d3713d237281016655847
parent24f510d479a2d6bbcd1a0d73b51e388e15824b6c
Bug 21549: Lock expired patron accounts

Adding a search on locked patrons to the search_expired in cron script.
This prevents relocking.

Test plan:
Prove Koha/Patrons.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Patrons.pm
misc/cronjobs/cleanup_database.pl
t/db_dependent/Koha/Patrons.t