https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28943

Fridolin Somers <fridolin.som...@biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fridolin.som...@biblibre.co
                   |                            |m

--- Comment #18 from Fridolin Somers <fridolin.som...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to