https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34962

--- Comment #12 from Kyle M Hall (khall) <[email protected]> ---
Created attachment 208082
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208082&action=edit
Bug 34962: Add ability to purge cleared system messages to cleanup_database.pl

Test Plan:
1) Apply this patch
2) Clear a system message, then set its cleared_date to 40 days ago
   UPDATE system_messages SET cleared_date = DATE_SUB( NOW(), INTERVAL 40 DAY )
WHERE cleared_date IS NOT NULL;
3) perl misc/cronjobs/cleanup_database.pl --system-messages --verbose
4) Note the message would have been purged, but still exists
5) perl misc/cronjobs/cleanup_database.pl --system-messages --verbose --confirm
6) Note the message is gone and uncleared messages are untouched!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to