function ldap_servers_db_field_exists in Lightweight Directory Access Protocol (LDAP) 7.2
15 calls to ldap_servers_db_field_exists()
- ldap_servers_install_update_schema in ldap_servers/
ldap_servers.install - ldap_servers_update_7100 in ldap_servers/
ldap_servers.install - Rename ldap_servers type field to ldap_type.
- ldap_servers_update_7102 in ldap_servers/
ldap_servers.install - Add bind_method field to ldap_servers table.
- ldap_servers_update_7103 in ldap_servers/
ldap_servers.install - Add group_object_category field to ldap_servers table.
- ldap_servers_update_7104 in ldap_servers/
ldap_servers.install - Add pagination fields to ldap_servers table.
File
- ldap_servers/
ldap_servers.install, line 331 - Install, update and uninstall functions for the LDAP API module.
Code
function ldap_servers_db_field_exists($table, $field_name) {
if (!db_field_exists($table, $field_name) && !db_field_exists($table, drupal_strtolower($field_name))) {
return FALSE;
}
else {
return TRUE;
}
}