You are here

function node_accessibility_uninstall in Node Accessibility 7

Implementation of hook_uninstall().

File

./node_accessibility.install, line 104
Install file for node accessibility.

Code

function node_accessibility_uninstall() {
  if (function_exists('cf_settings_unregister')) {
    $registered = cf_settings_get_registered(array(
      'module_name' => 'node_accessibility',
    ), 'id');
    foreach ($registered as &$r) {
      cf_settings_unregister($r->variable_name, $r->variable_type, $r->module);
    }
  }
  else {
    variable_del('node_accessibility_node_type_settings');
    variable_del('node_accessibility_alter_revision_menu');
  }
}