PluginHooks:CleanupPlugin

Description
Can be used to cleanup before the execution exits the plugin code.

Related Code
File: /lib/plugin.php Class: Plugin (The parent of all plugin classes) Code: mainline

Example
class ExamplePlugin extends Plugin { onCleanupPlugin { unlink("/tmp/plugindata.txt"); // Removes a temporary file } }