diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-12 00:59:30 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-12 00:59:30 +0000 |
commit | 2cf3233f546dfa38521bd9ec280dbec9a9fb7612 (patch) | |
tree | d002407e665c966bb3ccfeedd672ba77fd26541c /core/libraries/Theme_View.php | |
parent | 0f41cab73201ca2669f4cce88d7e195d7cb28285 (diff) |
Get rid of all pseudo users and pseudo groups, while preserving all
other functionality. This makes our user/group and access code
fully consistent.
Diffstat (limited to 'core/libraries/Theme_View.php')
-rw-r--r-- | core/libraries/Theme_View.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |