function ldap_authorization_update_7103 in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_authorization/ldap_authorization.install \ldap_authorization_update_7103()
- 7.2 ldap_authorization/ldap_authorization.install \ldap_authorization_update_7103()
change derive_from_attr_attr and derive_from_entry fields to text instead of varchar 2555
File
- ldap_authorization/
ldap_authorization.install, line 136 - Install, update and uninstall functions for the LDAP authorization module.
Code
function ldap_authorization_update_7103() {
foreach (array(
'derive_from_dn_attr',
'derive_from_attr_attr',
'derive_from_entry_entries',
) as $field_name) {
db_change_field('ldap_authorization', $field_name, $field_name, array(
'type' => 'text',
'not null' => FALSE,
));
}
}