]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 9 Apr 2020 20:53:44 +0000 (20:53 +0000)
commit2f869f288ffb46bba401deafcfa420103f3bdc66
tree56f2b7c0ad67296e13aed7f2ab8b66b25b57972d
parent6e0d48f14e885ad5cf3a7ee191f1110150a714b6
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>
(cherry picked from commit ce96ed4336f99d97c31bc87cfea3369ddfaf0a02)

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