aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/event_tracer/maintain.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/event_tracer/maintain.inc.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/event_tracer/maintain.inc.php b/plugins/event_tracer/maintain.inc.php
new file mode 100644
index 000000000..f7d0131c5
--- /dev/null
+++ b/plugins/event_tracer/maintain.inc.php
@@ -0,0 +1,9 @@
+<?php
+if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
+
+function plugin_uninstall($plugin_id)
+{
+ global $conf;
+ @unlink( $conf['local_data_dir'].'/plugins/'.$plugin_id.'.dat' );
+}
+?>