diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-13 11:48:42 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-13 11:48:42 -0700 |
commit | d9720b77e9c4455df3e3237c285ad5a33afdd591 (patch) | |
tree | 2d2d7f918b9e7af7d312d7bc08f05fce0e4c528f /modules/gallery/helpers/user.php | |
parent | 4dd6e4cc4c3353b36a5c69a845ad879ddf085d2f (diff) | |
parent | 53393a144609c0d8402b14606f52422bf3f28daf (diff) |
Merge branch 'master' into talmdal_dev
Conflicts:
modules/gallery/controllers/admin_users.php
modules/gallery/controllers/password.php
modules/gallery/helpers/group.php
modules/gallery/helpers/user.php
modules/notification/helpers/notification.php
Diffstat (limited to 'modules/gallery/helpers/user.php')
-rw-r--r-- | modules/gallery/helpers/user.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/gallery/helpers/user.php b/modules/gallery/helpers/user.php index e3494fdf..f0509030 100644 --- a/modules/gallery/helpers/user.php +++ b/modules/gallery/helpers/user.php @@ -310,18 +310,19 @@ class user_Core { * @return User_Model the user object, or null if the id was invalid. */ static function lookup($id) { - return Identity::instance()->lookup_user($id); + return Identity::instance()->lookup_user_by_field("id", $id); } /** * Look up a user by name. - * @param integer $id the user name + * @param integer $name the user name * @return User_Model the user object, or null if the name was invalid. */ static function lookup_by_name($name) { return Identity::instance()->lookup_user_by_field("name", $name); } + /** * Look up a user by hash. * @param string $name the user name @@ -336,8 +337,8 @@ class user_Core { * @param mixed options to apply to the selection of the user(optional) * @return array the group list. */ - static function users($filter=array()) { - return Identity::instance()->list_users($filter); + static function get_user_list($filter=array()) { + return Identity::instance()->get_user_list($filter); } /** |