]> git.koha-community.org Git - koha.git/commit
Bug 24541: Purge old messages
authorDidier Gautheron <didier.gautheron@biblibre.com>
Thu, 30 Jan 2020 09:35:31 +0000 (10:35 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 4 Jan 2021 15:31:29 +0000 (16:31 +0100)
commitead1493f5b3baedcc1eaf062991b8792aba7f231
tree45b4192ff2097b1a560beb7986018a4700396aa1
parentae1ae478fd5004ba8527822aef9ce5b45b061a33
Bug 24541: Purge old messages

misc/cronjobs/cleanup_database.pl provides some database cleanup.

This patch adds cleanup for messages table.

Test plan :
- Count messages : select count(*),date(message_date) from  messages group by date(message_date);
- Run cleanup : misc/cronjobs/cleanup_database.pl -v --confirm --messages 365
- Recount messages

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
misc/cronjobs/cleanup_database.pl