user_logout

Functions that call user_logout()

Namesort iconLocationDescription
user_logoutmodules/user/user.pages.incMenu callback; logs the current user out, and redirects to the home page.
_menu_site_is_offlineincludes/menu.incChecks whether the site is off-line for maintenance.

Functions called by user_logout()

Namesort iconLocationDescription
drupal_anonymous_userincludes/bootstrap.incGenerates a default anonymous $user object.
drupal_gotoincludes/common.incSend the user to a different Drupal page.
module_invoke_allincludes/module.incInvoke a hook in all enabled modules that implement it.
user_logoutmodules/user/user.pages.incMenu callback; logs the current user out, and redirects to the home page.
watchdogincludes/bootstrap.incLog a system message.
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.