delete-expired
--------------

Addon to auto-delete expired entries

Addon provides new setings, accessed via LDM admin/settings and/or Edit Category/Control Settings
- active
- days after expiry to delete expired entries

When active and when standard LDM expiry settings have been enabled, entries are deleted
the specified number of days after expiry.  If the entry was an upload, the uploaded file 
is deleted at the same time.

(In fact, the deletion happens immediately after displaying a page that in principle would show that entry,
e.g. the contents of its category.)

Take care 
- the effects of this addon are irreversible, so be sure that you want things deleting permanently
and be sure you set correct parameters globally or per-category
- if an entry exists in more than one category, it will be deleted from the database when it *first* expires
irrespective of its status in other categories
- this addon is triggered *before* checking whether expired entries are to be moved to new categories,
so if you want to move entries to a new category for a while before deleting them, then a) set an
expiry date for the 'move-to' category, and b) activate this addon only in the 'move to' category

Checked: 2.6.2008