Changeset 6895


Ignore:
Timestamp:
09/13/10 21:21:40 (9 years ago)
Author:
nikrou
Message:

Remove plugin configuration file when user removes the plugin.

Location:
extensions/user_tags
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_tags/CHANGELOG

    r6846 r6895  
     1User Tags 0.3.3 - 2010-09-05 
     2================================ 
     3* Remove plugin configuration file when user removes the plugin. 
     4 
    15User Tags 0.3.2 - 2010-09-04 
    26================================ 
  • extensions/user_tags/main.inc.php

    r6846 r6895  
    2222/* 
    2323Plugin Name: User Tags 
    24 Version: 0.3.2 
     24Version: 0.3.3 
    2525Description: Allow visitors to add tag to images 
    2626Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=441 
  • 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.