]> git.koha-community.org Git - koha.git/commit
Bug 19008: More database cleanups - old issues
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 28 Jul 2017 12:57:33 +0000 (14:57 +0200)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 2 Apr 2020 18:45:28 +0000 (18:45 +0000)
commitce96ed4336f99d97c31bc87cfea3369ddfaf0a02
tree5d41fde1f5d3003507410eb68c6e07b79343759e
parentf2aeaede38b05cb93146d9fbe86bcd4a2a76b8d5
Bug 19008: More database cleanups - old issues

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 old_issues table.

Test plan :
- Count : select count(*),date(timestamp) from old_issues group by date(timestamp);
- Run cleanup : misc/cronjobs/cleanup_database.pl -v --old-issues 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