Skip to the content
Documentation

[TrashSettings]

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

The group [TrashSettings] of settings/content.ini.

File

settings/content.ini; override it in settings/override/content.ini.append.php, in a siteaccess or in an extension.

Settings

Setting Default Description
KeepItemsForDays (empty) How many days an item stays in the trash before the cronjob trashpurge (cronjobs/trashpurge.php) purges it. Empty or 0: the cronjob purges the whole trash, as before. A value that is not a whole number of days up to 36500 purges nothing and reports an error. bin/php/trashpurge.php is not affected; it takes --trashed-days=<days>. Items trashed before 6.0 have no trash time (trashed = 0) and are purged on the first run whatever the value; see the guide to keep them. Guide: doc/eng-us/bc/6.0/trash.md

See also

Generated example: content.ini [TrashSettings]

Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/content.ini.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.