You are here

function simple_ldap_user_disable in Simple LDAP 7

Same name and namespace in other branches
  1. 7.2 simple_ldap_user/simple_ldap_user.install \simple_ldap_user_disable()

Implements hook_disable().

File

simple_ldap_user/simple_ldap_user.install, line 17
simple_ldap_user module installation.

Code

function simple_ldap_user_disable() {
  $password_inc = drupal_get_path('module', 'simple_ldap_user') . '/simple_ldap_user.password.inc';
  if (variable_get('password_inc') == $password_inc) {
    variable_del('password_inc');
  }
}