function cas_menu_logout_check in CAS 6
Same name and namespace in other branches
- 6.2 cas.module \cas_menu_logout_check()
Check to see if we need to display the logout menu.
Return value
boolean
1 string reference to 'cas_menu_logout_check'
- cas_menu in ./
cas.module - Implements hook_menu.
File
- ./
cas.module, line 45
Code
function cas_menu_logout_check() {
global $user;
$access = false;
if ($user->uid) {
$access = true;
}
return $access;
}