Bug 19008: More database cleanups - item transfers
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 28 Jul 2017 14:09:14 +0000 (16:09 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 9 Apr 2020 20:54:18 +0000 (20:54 +0000)
commitcebaf458140e34fad7a7dcae077c0e0326a95d25
tree028ac6e383d03ab0811801311be18f68c3c60cae
parent032a0011401fb0e66d5c16bfe88580584acded57
Bug 19008: More database cleanups - item transfers

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

Test plan :
- Count : select count(*),datearrived from branchtransfers group by datearrived;
- Run cleanup : misc/cronjobs/cleanup_database.pl -v --transfers 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 dd8df39986ebc7c055894fea0148f900ba4a3a45)

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