aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-05 16:25:58 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-05 16:25:58 +0000
commit3d1a4eddb6c115e4cd58b1c743b1ffa2c71ca4e5 (patch)
tree4ae0c9327ef658617d3391b057022d8c37f4ca29
parent54d01c6d966b87480336beddf6d92b89cb92d76b (diff)
downloadelgg-3d1a4eddb6c115e4cd58b1c743b1ffa2c71ca4e5.tar.gz
elgg-3d1a4eddb6c115e4cd58b1c743b1ffa2c71ca4e5.tar.bz2
if there is already a user in the session, we don't need to set the code from the cookie
git-svn-id: http://code.elgg.org/elgg/trunk@3728 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/sessions.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php
index 18a66f3ff..5edf374b0 100644
--- a/engine/lib/sessions.php
+++ b/engine/lib/sessions.php
@@ -532,7 +532,6 @@ function session_init($event, $object_type, $object) {
$_SESSION['user'] = $user;
$_SESSION['id'] = $user->getGUID();
$_SESSION['guid'] = $_SESSION['id'];
- $_SESSION['code'] = $_COOKIE['elggperm'];
} else {
// user must have been deleted with a session active
unset($_SESSION['user']);