You are here

function cas_menu_logout_check in CAS 6.2

Same name and namespace in other branches
  1. 6 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 103

Code

function cas_menu_logout_check() {
  global $user;
  $access = FALSE;
  if ($user->uid) {
    $access = TRUE;
  }
  return $access;
}