diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-10 20:44:04 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-10 20:44:04 +0000 |
commit | befc46338c4e48635008312eab14efec40d6d26c (patch) | |
tree | 6a5b93efaef76afe173a826cf897c4b53b7d4377 | |
parent | eabcb5a3d13141c40bd47da228520c5281741d68 (diff) | |
download | elgg-befc46338c4e48635008312eab14efec40d6d26c.tar.gz elgg-befc46338c4e48635008312eab14efec40d6d26c.tar.bz2 |
Refs #2124: Removed session variables from $vars
git-svn-id: http://code.elgg.org/elgg/trunk@7282 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/views.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php index 9d10862ee..5e0e8f8a2 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -256,10 +256,7 @@ function elgg_view($view, $vars = array(), $bypass = false, $debug = false, $vie $vars = array(); } - // Load session and configuration variables into $vars - if (isset($_SESSION)) { - $vars += $_SESSION; - } + $vars['user'] = get_loggedin_user(); $vars['config'] = array(); |