Currently when a patron record is deleted in Koha the information in the table borrowers is moved to the table deletedborrowers. But Koha currently provides no way to clean up the table deletedborrowers regularly. The data is kept forever or has to be deleted via SQL. We should provide a script that checks for a timestamp (see bug 8926) and deletes data older than x days. It might also be desirable to offer an option to never save data into the deletedborrowers table.
This is quite a big privacy issue. If a patron asks for his data to be deleted, it should be deleted. Keeping it might even be against law in some contexts.
Bug 19008 adds an option on cron job cleanup_database.pl
Done on bug 19008. *** This bug has been marked as a duplicate of bug 19008 ***