You are here

function user_is_logged_in in Drupal 6

Same name and namespace in other branches
  1. 7 modules/user/user.module \user_is_logged_in()
1 string reference to 'user_is_logged_in'
user_menu in modules/user/user.module
Implementation of hook_menu().

File

modules/user/user.module, line 890
Enables the user registration and login system.

Code

function user_is_logged_in() {
  return (bool) $GLOBALS['user']->uid;
}