aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-25 22:13:48 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-25 22:13:48 +0000
commit956717eb3b602579165d9b8983b3205361b0e845 (patch)
treef318d044b04872111f2edc06ac7479e5c6b1e839 /engine
parent849d86ec93b54127d9b07cedf743ef76c3528298 (diff)
downloadelgg-956717eb3b602579165d9b8983b3205361b0e845.tar.gz
elgg-956717eb3b602579165d9b8983b3205361b0e845.tar.bz2
git-svn-id: https://code.elgg.org/elgg/trunk@2141 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/sessions.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php
index 39e564ac8..15ec459d2 100644
--- a/engine/lib/sessions.php
+++ b/engine/lib/sessions.php
@@ -102,9 +102,7 @@
function login(ElggUser $user, $persistent = false) {
global $CONFIG;
-error_log('*****************************************');
-error_log(print_r($_SESSION, true));
-error_log('*****************************************');
+
$_SESSION['user'] = $user;
$_SESSION['guid'] = $user->getGUID();
$_SESSION['id'] = $_SESSION['guid'];