You are here

function linkchecker_update_6217 in Link checker 6.2

#1450672: Set user 1 as default user to impersonate content updates.

File

./linkchecker.install, line 624
Installation file for Link Checker module.

Code

function linkchecker_update_6217() {
  $ret = array();
  $linkchecker_default_impersonate_user = user_load(1);
  variable_set('linkchecker_impersonate_user', $linkchecker_default_impersonate_user->name);
  $ret[] = array(
    'success' => TRUE,
    'query' => 'Set user 1 as default user to impersonate content updates.',
  );
  return $ret;
}