function ldap_authorization_update_7102 in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_authorization/ldap_authorization.install \ldap_authorization_update_7102()
- 7.2 ldap_authorization/ldap_authorization.install \ldap_authorization_update_7102()
Add derive_from_entry_search_all column to ldap_authorization
File
- ldap_authorization/
ldap_authorization.install, line 116 - Install, update and uninstall functions for the LDAP authorization module.
Code
function ldap_authorization_update_7102() {
if (!db_field_exists('ldap_authorization', 'derive_from_entry_search_all')) {
db_add_field('ldap_authorization', 'derive_from_entry_search_all', array(
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
));
return t('"derive_from_entry_search_all" field added to ldap_authorization table');
}
else {
return t('No database changes made.');
}
}