[Koha-bugs] [Bug 28943] Lower the risk of accidental patron deletion by cleanup_database.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Jan 22 02:55:35 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28943
Fridolin Somers <fridolin.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fridolin.somers at biblibre.co
| |m
--- Comment #18 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to Jonathan Druart from comment #14)
> Isn't supporting "0" actually a feature?
Looks like when feature was added, zero was for disable.
Also since zero is default value, it makes sens to be a not dangerous value.
>From sysprefs.sql :
('PatronSelfRegistrationExpireTemporaryAccountsDelay','0',NULL,'If
PatronSelfRegistrationDefaultCategory is enabled, this system preference
controls how long a patron can have a temporary status before the account is
deleted automatically. It is an integer value representing a number of days to
wait before deleting a temporary patron account. Setting it to 0 disables the
deleting of temporary accounts.','Integer'),
Looks like the testing of the preference has been added by :
https://git.koha-community.org/Koha-community/Koha/commit/fbc4e94d7f389d6bac37d9145283239d872f82f5
So I agree with this change.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list