]> git.koha-community.org Git - koha.git/commit
Bug 19008: More database cleanups - item transfers
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 28 Jul 2017 14:09:14 +0000 (16:09 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 4 Feb 2020 13:38:38 +0000 (13:38 +0000)
commit07968fc5f68d7bf7c3ae1674489cebab6bea3817
tree9171420713bba8fbacdd25f406870232d4be03a0
parentfc7d7eece8c64a20305c6efc935128ce55b31f3a
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>
misc/cronjobs/cleanup_database.pl