You are here

function _ldap_user_install_update_authmap 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_install_update_authmap()
2 calls to _ldap_user_install_update_authmap()
ldap_user_install in ldap_user/ldap_user.install
Implements hook_install().
ldap_user_update_7201 in ldap_user/ldap_user.install
Update authmap table, changing ldap_authentication to ldap_user, disable ldap_profile.

File

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

Code

function _ldap_user_install_update_authmap() {
  db_update('authmap')
    ->fields([
    'module' => 'ldap_user',
  ])
    ->condition('module', 'ldap_authentication')
    ->execute();
}