From e57ed68a027d37b84713cf01f53f523a988dfd1f Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Tue, 18 Oct 2022 14:41:23 +0200 Subject: [PATCH] Bug 31854: Document --not_borrowed_since and anonymization To test: - Run "perldoc misc/cronjobs/delete_patrons.pl" - Note the absence of information about the potential conflict between --not_borrowed_since and anonymization - Apply this patch - Re-run the perldoc command and make sure the note about anonymization make sense Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- misc/cronjobs/delete_patrons.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/misc/cronjobs/delete_patrons.pl b/misc/cronjobs/delete_patrons.pl index 9c8b87ea5b..29356d9276 100755 --- a/misc/cronjobs/delete_patrons.pl +++ b/misc/cronjobs/delete_patrons.pl @@ -170,6 +170,13 @@ Print a brief help message Delete patrons who have not borrowed since this date. +NOTE: Patrons who have all their old loans anonymized will +have an empty loan history and be deleted if this option is +used. Anonymization can happen because the patron has +borrowers.privacy = 2, through cronjobs doing anonymization +or by the patron choosing to anonymize their history in the +OPAC. + =item B<--expired_before> Delete patrons with an account expired before this date. -- 2.39.5