You are here

function ldap_user_update_7201 in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_user/ldap_user.install \ldap_user_update_7201()

Update authmap table, changing ldap_authentication to ldap_user, disable ldap_profile.

File

ldap_user/ldap_user.install, line 432
Install, update and uninstall functions for the LDAP User module.

Code

function ldap_user_update_7201() {
  if (module_exists('ldap_profile')) {
    module_disable([
      'ldap_profile',
      TRUE,
    ]);
  }
  _ldap_user_install_update_authmap();
}