From 956717eb3b602579165d9b8983b3205361b0e845 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 25 Sep 2008 22:13:48 +0000 Subject: git-svn-id: https://code.elgg.org/elgg/trunk@2141 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/sessions.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engine/lib/sessions.php') 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']; -- cgit v1.2.3