You are here

function autologout_logout in Automated Logout 6.2

Same name and namespace in other branches
  1. 6.3 autologout.module \autologout_logout()
  2. 7.2 autologout.module \autologout_logout()
1 string reference to 'autologout_logout'
autologout_menu in ./autologout.module
Implementation of hook_menu().

File

./autologout.module, line 527
Used to automagically log out a user after a preset time, AjK May 2006

Code

function autologout_logout() {
  global $user;
  if ($user->uid == 0) {
    print theme('page', filter_xss_admin(_autologout_local_settings('logout_message')));
  }
  else {
    drupal_goto();
  }
}