DraftsDuration

Summary

Sets how long a draft can exist in the system before it is considered old and can be removed.

Usage

 

DraftsDuration[days]=number_of_days
DraftsDuration[hours]=number_of_hours
DraftsDuration[minutes]=number_of_minutes
DraftsDuration[seconds]=number_of_seconds

Description

Use this setting to specify the number of days, hours, minutes and seconds before a draft is considered old and can be removed. Note that the "old_drafts_cleanup.php" cronjob script must be run periodically for this setting to have any effect.

Examples

Example 1

 

DraftsDuration[]
DraftsDuration[days]=30
DraftsDuration[hours]=0
DraftsDuration[minutes]=0
DraftsDuration[seconds]=0


With this configuration, the "old_drafts_cleanup.php" cronjob script will remove drafts that have been in the system for over 30 days.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.