Ignore:
Timestamp:
Sep 13, 2010, 9:21:40 PM (14 years ago)
Author:
nikrou
Message:

Remove plugin configuration file when user removes the plugin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_tags/maintain.inc.php

    r6798 r6895  
    3434
    3535function plugin_uninstall($plugin_id) {
     36  $config_file = $GLOBALS['conf']['local_data_dir'].'/plugins/';
     37  $config_file .= basename(dirname(__FILE__)).'.dat';
     38  unlink($config_file);
    3639}
    3740?>
Note: See TracChangeset for help on using the changeset viewer.