I don’t like the trash to be emptied automatically after X days. Therefore I’ve looked how to add the possibility to activate the trash while deactivating the automatic emptying.
Only minor changes are needed which I haved posted on my blog:
An automatic Google translation of the entry can be found here (please beware that the Google translator likes to break translated source code):
After applying the patch the following holds true for the EMPTY_TRASH_DAYS value:
bigger than zero: number of days after which entries are automatically deleted from the trash
equal to zero: the trash is deactivated as a whole
smaller than zero: the trash is active but the entries will not be deleted automatically
With kind regards,
- The topic ‘Allow deactivation of automatic trash emptying’ is closed to new replies.