This plugin lets you empty the trash bin on a regular base or immediately on request.
By default deleting a topic, an attachment or a web, items are moved to the Trash.WebHome.
It will stay there for recovery until the trash is emptied. Cleaning up the trash bin will wipe out items and their history from the
store permanently, that is the operation can't be reverted anymore, even not by checking out a previous revision.

For this reason cleaning up the trash can only be performed by an admin user under the assumption they know better
what they are doing.

Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. "Extensions Operation and Maintenance" Tab -> "Install, Update or Remove extensions" Tab. Click the "Search for Extensions" button.
Enter part of the extension name or description and press search. Select the desired extension(s) and click install. If an extension is already installed, it will not show up in the
search results.

You can also install from the shell by running the extension installer as the web server user: (Be sure to run as the webserver user, not as root!)

TrashPlugin is able to clean up items from the trash older than a specific timespan specified in {TrashPlugin}{Expire} defaulting to 1M (one month).
To perform regular maintenance automatically add a cron job calling the cleanUp REST handler of TrashPlugin.