function ldap_servers_update_7112 in Lightweight Directory Access Protocol (LDAP) 8.2
Same name and namespace in other branches
- 7.2 ldap_servers/ldap_servers.install \ldap_servers_update_7112()
add field testingDrupalUserDn to ldap_servers table
File
- ldap_servers/
ldap_servers.install, line 466 - Install, update and uninstall functions for the LDAP API module.
Code
function ldap_servers_update_7112() {
if (!db_field_exists('ldap_servers', 'testingDrupalUserDn')) {
db_add_field('ldap_servers', 'testingDrupalUserDn', array(
'type' => 'varchar',
'length' => '255',
'not null' => FALSE,
));
$msg = t('"testingDrupalUserDn" field added to ldap_servers table');
}
}