function ldap_servers_update_7105 in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_servers/ldap_servers.install \ldap_servers_update_7105()
- 7 ldap_servers/ldap_servers.install \ldap_servers_update_7105()
Enable ldap_user module.
File
- ldap_servers/
ldap_servers.install, line 289 - Install, update and uninstall functions for the LDAP API module.
Code
function ldap_servers_update_7105() {
if (!module_exists('ldap_user')) {
module_enable([
'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.');
}