https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25429
--- Comment #27 from Kyle M Hall <[email protected]> --- (In reply to Jonathan Druart from comment #25) > (In reply to Jonathan Druart from comment #24) > > 2. > > Why don't we add an option to the script, like the other flags? I would have > > expected a default number of days picked from the pref, and a flag passed to > > the script. > > ok, I read the previous comments now. But... isn't how the whole script work > for the other flags so far? > > for instance: > 190 $pDebarments = DEFAULT_DEBARMENTS_PURGEDAYS if > defined($pDebarments) && $pDebarments == 0; This is what I was asked to implement, so I did. Koha is on a trajectory of moving away from cli paramters for cronjobs to sysprefs so that librarians can control how cronjobs behave without the need to have a sysadmin make changes for them. I fully expect over time all the parameters for this script will be moved to sysprefs. This is just the first step. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] 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/
