Ignore:
Timestamp:
Dec 13, 2010, 9:33:42 PM (14 years ago)
Author:
Eric
Message:
  • Improve database cleanup on plugin uninstallation
  • Version 2.16.0 hard coded
Location:
extensions/NBC_UserAdvManager/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/main.inc.php

    r8065 r8110  
    22/*
    33Plugin Name: UserAdvManager
    4 Version: 2.16.0b
     4Version: 2.16.0
    55Description: Renforcer la gestion des utilisateurs - Enforce users management
    66Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=216
  • extensions/NBC_UserAdvManager/trunk/maintain.inc.php

    r8092 r8110  
    234234  }
    235235
     236  if (isset($conf['UserAdvManager_Version']))
     237  {
     238    $q = '
     239DELETE FROM '.CONFIG_TABLE.'
     240WHERE param="UserAdvManager_Version"
     241;';
     242
     243    pwg_query($q);
     244  }
     245
    236246  $q = 'DROP TABLE '.USER_CONFIRM_MAIL_TABLE.';';
    237247  pwg_query( $q );
Note: See TracChangeset for help on using the changeset viewer.