function simple_ldap_role_update_7100 in Simple LDAP 7.2
Same name and namespace in other branches
- 7 simple_ldap_role/simple_ldap_role.install \simple_ldap_role_update_7100()
Update configuration variables.
File
- simple_ldap_role/
simple_ldap_role.install, line 26 - simple_ldap_role module installation.
Code
function simple_ldap_role_update_7100(&$sandbox) {
// simple_ldap_role_objectclass should be an array.
$objectclass = variable_get('simple_ldap_role_objectclass');
if (!is_array($objectclass)) {
variable_set('simple_ldap_role_objectclass', array(
$objectclass,
));
}
}