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 eb049c4698..8732f32802 100755
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -306,7 +306,7 @@ switch ($mode)
$user->set_cookie('sid', '', $set_time);
// We destroy the session here, the user will be logged out nevertheless
- $user->destroy();
+ $user->session_kill();
meta_refresh(3, "{$phpbb_root_path}index.$phpEx$SID");