From 2cf3233f546dfa38521bd9ec280dbec9a9fb7612 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 12 Dec 2008 00:59:30 +0000 Subject: Get rid of all pseudo users and pseudo groups, while preserving all other functionality. This makes our user/group and access code fully consistent. --- core/libraries/Theme_View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/libraries/Theme_View.php') diff --git a/core/libraries/Theme_View.php b/core/libraries/Theme_View.php index 8736e87d..51d7c545 100644 --- a/core/libraries/Theme_View.php +++ b/core/libraries/Theme_View.php @@ -33,7 +33,7 @@ class Theme_View_Core extends View { parent::__construct($name); $this->theme_name = $theme_name; $this->set_global('theme', $this); - $this->set_global('user', Session::instance()->get('user', null)); + $this->set_global('user', user::active()); $this->set_global("page_type", $page_type); } -- cgit v1.2.3