function ldap_authorization_update_7104 in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_authorization/ldap_authorization.install \ldap_authorization_update_7104()
- 7 ldap_authorization/ldap_authorization.install \ldap_authorization_update_7104()
Change derive_from_attr_attr and derive_from_entry fields to text instead of varchar 2555 applied second time because beta6 and 7 were wrong.
File
- ldap_authorization/
ldap_authorization.install, line 196 - Install, update and uninstall functions for the LDAP authorization module.
Code
function ldap_authorization_update_7104() {
foreach ([
'derive_from_dn_attr',
'derive_from_attr_attr',
'derive_from_entry_entries',
] as $field_name) {
db_change_field('ldap_authorization', $field_name, $field_name, [
'type' => 'text',
'not null' => FALSE,
]);
}
}