You are here

function realname_update_6100 in Real Name 6

Implementation of hook_update_N().

File

./realname.install, line 82
Handles installation and updates for the RealName module.

Code

function realname_update_6100() {
  $ret = array();
  if (variable_get('realname_profile_module', NULL)) {
    $ret[] = array(
      'success' => TRUE,
      'query' => t('No change required.'),
    );
  }
  else {
    variable_set('realname_profile_module', 'profile');
    $ret[] = array(
      'success' => TRUE,
      'query' => "variable_set('realname_profile_module', 'profile')",
    );
  }
  return $ret;
}