You are here

function redirect_after_logout_user_logout in Redirect after logout 7

Same name and namespace in other branches
  1. 8 redirect_after_logout.module \redirect_after_logout_user_logout()

Implements hook_user_logout().

1 string reference to 'redirect_after_logout_user_logout'
redirect_after_logout_drupal_goto_alter in ./redirect_after_logout.module
Implements hook_drupal_goto_alter().

File

./redirect_after_logout.module, line 51
Redirect after logout - module file

Code

function redirect_after_logout_user_logout($account) {
  if (user_access('redirect after logout user')) {
    $destination =& drupal_static(__FUNCTION__);
    $destination = token_replace(variable_get('redirect_after_logout_destination', ''));
  }
}