]> git.koha-community.org Git - koha.git/commit
Bug 16276: Make delete_patrons.pl deal with --last_seen
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 24 Apr 2016 16:39:13 +0000 (17:39 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 13 Sep 2016 17:27:41 +0000 (17:27 +0000)
commit93ff61c10d671afb6c7be2dd24076383b839f182
tree0bec5499ac4d659c13940751d54f9baf00679dd0
parentf234d1586bff62d2c4e58807cd62ec3187d94f69
Bug 16276: Make delete_patrons.pl deal with --last_seen

This patch modify the delete_patrons.pl cronjob to deal with the
last_seen option.

To test it, you just have to use the --last_seen option and pass a valid
date (iso format)

Example:
  perl misc/cronjobs/delete_patrons.pl --last_seen="1984-02-04" --confirm
will delete all the patrons who do not have been active since this date.

Sponsored-by: BULAC - http://www.bulac.fr/
Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
https://bugs.koha-community.org/show_bug.cgi?id=12276

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
misc/cronjobs/delete_patrons.pl