Bug 8584 - Improve cleanup_database.pl to only purge emails older than X days.
Summary: Improve cleanup_database.pl to only purge emails older than X days.
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Frédérick Capovilla
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-06 21:05 UTC by Frédérick Capovilla
Modified: 2014-12-07 20:03 UTC (History)
2 users (show)

See Also:
Change sponsored?: Sponsored
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
cleanup_database.pl : Add a DAYS parameter for email purges. (3.17 KB, patch)
2012-08-06 21:05 UTC, Frédérick Capovilla
Details | Diff | Splinter Review
cleanup_database.pl : Add a DAYS parameter for email purges. (3.28 KB, patch)
2013-04-12 15:13 UTC, Kyle M Hall
Details | Diff | Splinter Review
cleanup_database.pl : Add a DAYS parameter for email purges. (3.33 KB, patch)
2013-06-05 09:04 UTC, Chris Cormack
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Frédérick Capovilla 2012-08-06 21:05:59 UTC Comment hidden (obsolete)
Comment 1 Frédérick Capovilla 2012-08-06 21:06:28 UTC
Patch sponsored by the CCSR ( http://www.ccsr.qc.ca )
Comment 2 Maxime Pelletier 2013-03-13 18:37:48 UTC
Still applies in master, so changing to need signoff.
Comment 3 Kyle M Hall 2013-04-12 15:13:11 UTC Comment hidden (obsolete)
Comment 4 Chris Cormack 2013-06-05 09:04:32 UTC
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>
Comment 5 Galen Charlton 2013-06-05 14:22:18 UTC
Pushed to master.  Thanks, Frédérick!