You are here

function ldap_servers_update_7105 in Lightweight Directory Access Protocol (LDAP) 8.2

Same name and namespace in other branches
  1. 7.2 ldap_servers/ldap_servers.install \ldap_servers_update_7105()
  2. 7 ldap_servers/ldap_servers.install \ldap_servers_update_7105()

enable ldap_user module

File

ldap_servers/ldap_servers.install, line 246
Install, update and uninstall functions for the LDAP API module.

Code

function ldap_servers_update_7105() {
  if (!module_exists('ldap_user')) {
    module_enable(array(
      'ldap_user',
    ));
    $msg = t('LDAP User module enabled.  Some authentication and authorization functionality shifted to LDAP User module.');
  }
  return $msg ? $msg : t('LDAP User module was already enabled.  No action taken.');
}