aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/event_tracer/maintain.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-03-06 00:25:47 +0000
committerrvelices <rv-github@modusoptimus.com>2008-03-06 00:25:47 +0000
commit37446caa5c362d998be6e1343995a5a7548a98a6 (patch)
tree3e124ec42bb7851756dd25229373172cf0400ccf /plugins/event_tracer/maintain.inc.php
parent7e1e705f8ba79c7579a1c433ad6cf3488a4e349b (diff)
- upgrade goes smarty
- event_tracer goes smarty - correction in index.tpl git-svn-id: http://piwigo.org/svn/trunk@2254 68402e56-0260-453c-a942-63ccdbb3a9ee
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' );
+}
+?>