[Koha-bugs] [Bug 21549] Lock expired patron accounts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 15 09:37:49 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21549

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Essentially, we need something like:

Koha::Patrons->search_expired({ days => $days })->search({ login_attempts => {
'!=' => -1 } })->lock({ remove => 1, verbose => $verbose });

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list