You are here

function autoassignrole_uninstall in Auto Assign Role 7

Same name and namespace in other branches
  1. 5.2 autoassignrole.install \autoassignrole_uninstall()
  2. 5 autoassignrole.install \autoassignrole_uninstall()
  3. 6.2 autoassignrole.install \autoassignrole_uninstall()
  4. 6 autoassignrole.install \autoassignrole_uninstall()
  5. 7.2 autoassignrole.install \autoassignrole_uninstall()

Implements hook_uninstall().

File

./autoassignrole.install, line 17
Installation related functionality for the auto assign role module.

Code

function autoassignrole_uninstall() {
  variable_del('autoassignrole_admin_active');
  variable_del('autoassignrole_auto_active');
  variable_del('autoassignrole_auto_roles');
  variable_del('autoassignrole_user_active');
  variable_del('autoassignrole_user_description');
  variable_del('autoassignrole_user_fieldset_title');
  variable_del('autoassignrole_user_multiple');
  variable_del('autoassignrole_user_required');
  variable_del('autoassignrole_user_roles');
  variable_del('autoassignrole_user_selection');
  variable_del('autoassignrole_user_sort');
  variable_del('autoassignrole_user_title');

  // This functionality hasn't been added yet, but it might exist from a prior
  // D6 installation.
  variable_del('autoassignrole_node_user_register');
  variable_del('autoassignrole_page_active');

  // Remove the autoassignrole_page table.
  db_drop_table('autoassignrole_page');
}