We've got two methods for automatically deleting self-reg patrons. The first deletes any patron who is still in the self-reg category more than X days past account creation. The second deletes any self-reg patron who has not verified their account via email with X days of account creation. The syspref PatronSelfRegistrationExpireTemporaryAccountsDelay deals with that first deletion method. It gets used in C4::Members::DeleteExpiredOpacRegistrations if the --del-exp-selfreg flag is set in cleanup_database.pl. This sub does not check whether or not the patron has verified via the verification email. As such, it's confusing that the syspref text says "Delete patrons registered via the OPAC, but not yet verified after X days." I suggest changing this wording to "Delete patrons still in the category indicated by PatronSelfRegistrationDefaultCategory X days after account creation."
Created attachment 102405 [details] [review] Bug 25053: PatronSelfRegistrationExpireTemporaryAccountsDelay system preference is unclear This patch changes the wording of this system preference. To test: 1) Check the current wording of this system preference. 2) Install the patch. 3) Check that the wording of this system preference has changed to "Delete patrons still in the category indicated by PatronSelfRegistrationDefaultCategory X days after account creation."
Created attachment 102407 [details] [review] Bug 25053: PatronSelfRegistrationExpireTemporaryAccountsDelay system preference is unclear This patch changes the wording of this system preference. To test: 1) Check the current wording of this system preference. 2) Install the patch. 3) Check that the wording of this system preference has changed to "Delete patrons still in the category indicated by PatronSelfRegistrationDefaultCategory X days after account creation." Signed-off-by: David Nind <david@davidnind.com>
Created attachment 102822 [details] [review] Bug 25053: Clarify the description of syspref PatronSelfRegistrationExpireTemporaryAccountsDelay This patch changes the wording of this system preference. To test: 1) Check the current wording of this system preference. 2) Install the patch. 3) Check that the wording of this system preference has changed to "Delete patrons still in the category indicated by PatronSelfRegistrationDefaultCategory X days after account creation." Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Amended commit title.
Nice work everyone! Pushed to master for 20.05
backported to 19.11.x for 19.11.06
backported to 19.05.x. for 19.05.11