aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-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']);