You are here

function autoassignrole_update_7104 in Auto Assign Role 7.2

Same name and namespace in other branches
  1. 7 autoassignrole.install \autoassignrole_update_7104()

Update the user description variable to allow HTML.

File

./autoassignrole.install, line 248
Installation related functionality for the auto assign role module.

Code

function autoassignrole_update_7104() {
  $user_desc = _autoassignrole_get_user_description();
  if (!is_array($user_desc)) {
    $defaults = array(
      'value' => $user_desc,
      'format' => filter_default_format(),
    );
    variable_set('autoassignrole_user_description', $defaults);
  }
}