Purge Events

From Easy PHP Calendar Instructions
Jump to: navigation, search

The Purge Events plugin will remove events from the database that have ended before a specified date.

Adding the Purge Events feature to the Setup or Event Manager

If adding the purge feature to the Events Manager, anyone with that access can purge events.

Recommended: If adding the purge feature to the [Settings], only the master administration will be able to purge events.

To enable the purge plugin, copy the purge.php file to either the events for setup directory of the calendar installation.

Next, edit the events or setup headerCustom.inc.php file and add the line below just before the close of the file ?>: