You are here

function _logouttab_redirect_url in Logout Tab 7

Same name and namespace in other branches
  1. 6 logouttab.module \_logouttab_redirect_url()

Redirects user to defined page.

1 string reference to '_logouttab_redirect_url'
logouttab_menu in ./logouttab.module
Implements hook_menu().

File

./logouttab.module, line 32
Adds a logout tab to the profile area.

Code

function _logouttab_redirect_url() {
  drupal_goto(variable_get('logouttab_url', 'user/logout'));
}