]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 4 Feb 2020 13:38:22 +0000 (13:38 +0000)
commitca511ad957e090832dec4c4370180fd92bd331ae
tree587dd50dbddc7c3fee1ec21a5e0611892e58ee0c
parent9ddb78f0d36910139a6dea4b0375a760f77d65c4
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>
misc/cronjobs/cleanup_database.pl