Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref
Marcel de Rooy fe9a8bf973 Bug 17669: Introduce new preference for purging temp uploads
The new preference is: Upload_PurgeTemporaryFiles_Days.
It controls if the cron job will delete temporary uploaded files and if so,
how many days should have passed before doing so.

Since the default value is empty, it will not start deleting these uploads
until you change the pref. No behavior change. But the dbrev will print a
message if you already have temporary uploads.

Test plan:
[1] Check Administration, Preferences, Tools for the new pref.
[2] Run the db rev.
    If you have temporary uploads, check the reported count.
[3] Bonus: Run sysprefs.sql in a safe environment.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-04-21 13:55:24 -04:00

34 lines
1.1 KiB
Text

Tools:
Batch item:
-
- Process up to
- pref: MaxItemsToProcessForBatchMod
class: integer
- items in a single item modification batch.
-
- Display up to
- pref: MaxItemsToDisplayForBatchDel
class: integer
- items in a single item deletion batch.
Patron cards:
-
- Limit the number of creator images stored in the database to
- pref: ImageLimit
class: Integer
- images.
News:
-
- "Show the author for news items:"
- pref: NewsAuthorDisplay
choices:
none: "Not at all"
opac: "OPAC only"
staff: "Staff client only"
both: "Both OPAC and staff client"
-
Upload:
-
- Automatically delete temporary uploads older than
- pref: Upload_PurgeTemporaryFiles_Days
class: integer
- "days in cleanup_database cron job. NOTE: If you leave this field empty (zero), the cron job will not delete any files."