summaryrefslogtreecommitdiff
path: root/modules/user/user.pages.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.pages.inc')
-rw-r--r--modules/user/user.pages.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc
index 727b2443e..5050f45e2 100644
--- a/modules/user/user.pages.inc
+++ b/modules/user/user.pages.inc
@@ -135,7 +135,7 @@ function user_logout() {
// Destroy the current session:
session_destroy();
- module_invoke_all('user', 'logout', NULL, $user);
+ module_invoke_all('user_logout', NULL, $user);
// Load the anonymous user
$user = drupal_anonymous_user();