You are here

function ldapauth_uninstall in LDAP integration 6

Same name and namespace in other branches
  1. 5.2 ldapauth.install \ldapauth_uninstall()
  2. 5 ldapauth.install \ldapauth_uninstall()

Implementation of hook_uninstall().

File

./ldapauth.install, line 38
ldapauth module installation and upgrade code.

Code

function ldapauth_uninstall() {

  // Remove tables.
  drupal_uninstall_schema('ldapauth');

  // Remove variables
  variable_del('ldapauth_login_process');
  variable_del('ldapauth_login_conflict');
  variable_del('ldapauth_forget_passwords');
  variable_del('ldapauth_sync_passwords');
  variable_del('ldapauth_disable_pass_change');
  variable_del('ldapauth_alter_email_field');
  variable_del('ldapauth_create_users');
  variable_del('ldapauth_alter_username_field');
  variable_del('ldapauth_debug');
}