[Koha-bugs] [Bug 28943] cleanup_database: Can we make del-exp-selfreg less disastrous ?

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 7 13:44:31 CEST 2021


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

--- Comment #4 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Katrin Fischer from comment #3)
> Hm, we already have PatronSelfRegistrationExpireTemporaryAccountsDelay for
> the number of days.
> 
> It seems like a double up to introduce an additional pref to secure another
> one. Maybe we need to make sure that this one can also be used to deactivate?

my $delay =
C4::Context->preference('PatronSelfRegistrationExpireTemporaryAccountsDelay');

return 0 if not $category_code or not defined $delay or $delay eq q||;

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list