1 user.pages.inc | user_logout() |
Menu callback; logs the current user out, and redirects to the home page.
File
- core/
modules/ user/ user.pages.inc, line 305 - User page callback file for the user module.
Code
function user_logout() {
user_logout_current_user();
backdrop_goto();
}