]> 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)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 2 Apr 2020 18:45:17 +0000 (18:45 +0000)
commitf2aeaede38b05cb93146d9fbe86bcd4a2a76b8d5
tree33f56ca112b40b7ff7fbd922e5e02f5eb0f1bbc6
parenta0a579d773c95ec87a647497cc755b0a4cc7f55f
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>
misc/cronjobs/cleanup_database.pl