function autologout_logout in Automated Logout 6.3
Same name and namespace in other branches
- 6.2 autologout.module \autologout_logout()
- 7.2 autologout.module \autologout_logout()
1 string reference to 'autologout_logout'
File
- ./
autologout.module, line 169 - Used to automagically log out a user after a certain time.
Code
function autologout_logout() {
global $user;
if ($user->uid == 0) {
print theme('page', t('You have been automatically logged out due to inactivity.'));
}
else {
drupal_goto();
}
}