]> git.koha-community.org Git - koha.git/commit
Bug 17669: [QA Follow-up] Allow zero in temp-uploads-days
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 31 Mar 2017 06:31:10 +0000 (08:31 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Apr 2017 17:55:25 +0000 (13:55 -0400)
commit05e25dbc188d9d6340d03750a47cb1cce130715f
treece577dd20521b5a9386e58786559394df41336fd
parent8e7f1dddebb90d30be328d15ed8150517c2df664
Bug 17669: [QA Follow-up] Allow zero in temp-uploads-days

As requested by QA on comment33.
If the pref is 0 or the overriding command line parameter is 0, all
temporary files will be deleted. But if the pref is NULL or empty string,
we will not delete files.

Also adjusted the description of the preference in this regard.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/UploadedFiles.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref
misc/cronjobs/cleanup_database.pl
t/db_dependent/Upload.t