]> git.koha-community.org Git - koha.git/commit
Bug 19008: More database cleanups - deleted patrons
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 28 Jul 2017 12:43:45 +0000 (14:43 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 9 Apr 2020 20:53:26 +0000 (20:53 +0000)
commit6e0d48f14e885ad5cf3a7ee191f1110150a714b6
treeaf4241fa206db54cf5ad3dd5e7a221e15eede3bf
parent0f0e097bc79bc6452d1161bfd7a89a01f5c012c6
Bug 19008: More database cleanups - deleted patrons

misc/cronjobs/cleanup_database.pl provides some database cleanup.
Yet some tables that could need cleanup are not in this script.

This patch adds cleanup for deletedborrowers table.

Test plan :
- Count : select count(*),date(updated_on) from deletedborrowers group by date(updated_on);
- Run cleanup : misc/cronjobs/cleanup_database.pl -v --deleted-patrons 30
- Recount

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit f2aeaede38b05cb93146d9fbe86bcd4a2a76b8d5)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
misc/cronjobs/cleanup_database.pl