]> git.koha-community.org Git - koha.git/commit
Bug 5944 : (MT #3000) new cronjob script to delete old suggestions
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Thu, 24 Mar 2011 08:58:12 +0000 (09:58 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 24 Mar 2011 09:10:20 +0000 (22:10 +1300)
commitf7190f48aad671485bcf8a535bf7e48f493d8c22
tree1a58d7f70f3b1ebb6bddc182261323e165b0a2f3
parent079b546a61fbe8db3bcbcab4a2b4de0bbf12838d
Bug 5944 : (MT #3000) new cronjob script to delete old suggestions

This patch is a new script that delete suggestion that have be processed by librarians.
It take on argument, it's a number of days to keep suggestions. Suggestions olders than TODAY - $days will be deleted.
This script should be used to purge suggestions and clean the table in intranet.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Suggestions.pm
misc/cronjobs/purge_suggestions.pl [new file with mode: 0755]