diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-31 11:13:10 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-31 11:13:10 +0000 |
commit | 977a543b3e12ae648ea958589a5d6f613421b06b (patch) | |
tree | d18afbfeae3a0d328daaaacc004e6e85d13e0074 /engine/lib | |
parent | 0fe3f48d86e643dacec6660ff98523c281809382 (diff) | |
download | elgg-977a543b3e12ae648ea958589a5d6f613421b06b.tar.gz elgg-977a543b3e12ae648ea958589a5d6f613421b06b.tar.bz2 |
Minor tweak, logout now calls session_destroy()
git-svn-id: https://code.elgg.org/elgg/trunk@2045 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/sessions.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php index cce2b0e6b..92aeb92a2 100644 --- a/engine/lib/sessions.php +++ b/engine/lib/sessions.php @@ -154,7 +154,9 @@ unset($_SESSION['id']);
unset($_SESSION['user']);
- setcookie("elggperm", "", (time()-(86400 * 30)),"/");
+ setcookie("elggperm", "", (time()-(86400 * 30)),"/"); + + session_destroy();
return true;
}
|