https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25183 --- Comment #16 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 119593 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119593&action=edit Bug 25183: Add option to cleanup-database.pl to move expired self registrations to deleted borrowers table The cleanup database job for deleting expired self registrations fully deletes borrowers instead of transferring them to deleted borrowers. This is a problem when libraries think they are deleting email unverified patrons instead of ones that haven't moved out of the category, an easy thing to be confused about. Test Plan: 1) Apply this patch 2) Try running cleanup_database.pl with the new -del-exp-selfreg-type parameters 'soft' and 'hard' 3) Param value 'soft' should move patrons to deletedborrowers 4) Param value 'hard' should follow existing behavior 5) Leave our -del-exp-selfreg-type, you should get the existing behavior Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.