Created attachment 11394 [details] [review] cleanup_database.pl : Add a DAYS parameter for email purges. The cleanup_database.pl script doesn't give the option to only delete emails older than X days. This feature is important for libraries that want to keep a short history of notifications sent to users (on the members/notices.pl page). Patch attached.
Patch sponsored by the CCSR ( http://www.ccsr.qc.ca )
Still applies in master, so changing to need signoff.
Created attachment 17396 [details] [review] cleanup_database.pl : Add a DAYS parameter for email purges. You can now specify a number of DAYS with the --mail parameter. Only mails older than DAYS days will be deleted. http://bugs.koha-community.org/show_bug.cgi?id=8584 Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Created attachment 18663 [details] [review] cleanup_database.pl : Add a DAYS parameter for email purges. You can now specify a number of DAYS with the --mail parameter. Only mails older than DAYS days will be deleted. http://bugs.koha-community.org/show_bug.cgi?id=8584 Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Pushed to master. Thanks, Frédérick!