aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-xphpBB/ucp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index 07864a7449..7146caaa08 100755
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -274,7 +274,7 @@ switch ($mode)
case 'logout':
if ($user->data['user_id'] != ANONYMOUS)
{
- $user->destroy();
+ $user->session_kill();
}
meta_refresh(3, "index.$phpEx$SID");