function linkchecker_update_7009 in Link checker 7
Set user 1 as default user to impersonate content updates.
File
- ./
linkchecker.install, line 438 - Installation file for Link Checker module.
Code
function linkchecker_update_7009() {
// Do not overwrite D6 settings.
$linkchecker_impersonate_user = variable_get('linkchecker_impersonate_user', '');
if (empty($linkchecker_impersonate_user)) {
$linkchecker_default_impersonate_user = user_load(1);
variable_set('linkchecker_impersonate_user', $linkchecker_default_impersonate_user->name);
}
return t('Set user 1 as default user to impersonate content updates.');
}