You are here

function ldap_authorization_update_7204 in Lightweight Directory Access Protocol (LDAP) 7.2

Make all schema field names lowercase in ldap server to deal with cronic case sensitivity issues.

File

ldap_authorization/ldap_authorization.install, line 369
Install, update and uninstall functions for the LDAP authorization module.

Code

function ldap_authorization_update_7204() {
  $schema = ldap_authorization_schema();
  $field_schema = $schema['ldap_authorization']['fields']['mappings'];
  if (db_field_exists('ldap_authorization', 'mappings')) {
    db_change_field('ldap_authorization', 'mappings', 'mappings', $field_schema);
  }
}