You are here

function tac_lite_uninstall in Taxonomy Access Control Lite 7

Implements hook_uninstall().

Clean up tac_lite variables.

File

./tac_lite.install, line 32
Installation functions for tac_lite. TODO: All updates need proper error handling and responses

Code

function tac_lite_uninstall() {
  for ($i = 1; $i <= variable_get('tac_lite_schemes', 1); $i++) {
    variable_del('tac_lite_config_scheme_' . $i);
    variable_del('tac_lite_grants_scheme_' . $i);
  }
  variable_del('tac_lite_schemes');
  variable_del('tac_lite_categories');
}