diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-11-28 11:27:25 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-11-28 11:27:25 -0800 |
commit | eb010554ff963a1f73661bf96d99697abb7dfde4 (patch) | |
tree | cabf85c2dc223cfbb2f649b1c45adfe04ba3e70a /modules/gallery/helpers/identity.php | |
parent | 76b6daefaa4009fdd8de72b8f25259200a66d477 (diff) |
Replace self::func() with <helper_name>::func() for all public APIs
and constants to make overloading easier. Fixes #1510.
Diffstat (limited to 'modules/gallery/helpers/identity.php')
-rw-r--r-- | modules/gallery/helpers/identity.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/identity.php b/modules/gallery/helpers/identity.php index 5ca024e9..e61aaaf4 100644 --- a/modules/gallery/helpers/identity.php +++ b/modules/gallery/helpers/identity.php @@ -61,7 +61,7 @@ class identity_Core { $session = Session::instance(); if (!($user = $session->get("user"))) { - self::set_active_user($user = self::guest()); + identity::set_active_user($user = self::guest()); } // The installer cannot set a user into the session, so it just sets an id which we should @@ -127,7 +127,7 @@ class identity_Core { $session = Session::instance(); $session->set("user", $user); $session->delete("group_ids"); - self::load_user(); + identity::load_user(); } /** |