[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
Thu Jan 13 08:20:12 CET 2022


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

--- Comment #15 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #14)
> Isn't supporting "0" actually a feature?

Hmm. Theoretically perhaps? I would have said No in absolute sense, were it not
for the code part stripping the time by ->ymd. So yes, I you run with 0 at e.g.
23:00, you only remove things from yesterday (still a potential disaster);
which might be what you want when using the temp category. If you run at 01:00,
you remove everything except the last hour; which might not be what you like
(too quick).

But I think that the risk of deleting almost all patrons (no temp category)
outweighs the gain of running 0 at 23:00 with temp category.

So, in short: No we should not support 0 as a feature.

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


More information about the Koha-bugs mailing list