https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34962 --- Comment #12 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- 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.