summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/group.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-13 11:48:42 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-13 11:48:42 -0700
commitd9720b77e9c4455df3e3237c285ad5a33afdd591 (patch)
tree2d2d7f918b9e7af7d312d7bc08f05fce0e4c528f /modules/gallery/helpers/group.php
parent4dd6e4cc4c3353b36a5c69a845ad879ddf085d2f (diff)
parent53393a144609c0d8402b14606f52422bf3f28daf (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/group.php')
-rw-r--r--modules/gallery/helpers/group.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/gallery/helpers/group.php b/modules/gallery/helpers/group.php
index 074a7b83..17dd7f70 100644
--- a/modules/gallery/helpers/group.php
+++ b/modules/gallery/helpers/group.php
@@ -91,7 +91,7 @@ class group_Core {
* @return Group_Model the group object, or null if the id was invalid.
*/
static function lookup($id) {
- return Identity::instance()->lookup_group($id);
+ return Identity::instance()->lookup_group_by_field("id", $id);
}
/**
@@ -100,16 +100,16 @@ class group_Core {
* @return Group_Core the group object, or null if the name was invalid.
*/
static function lookup_by_name($name) {
- return Identity::instance()->lookup_group_by_name($name);
+ return Identity::instance()->lookup_group_by_field("name", $name);
}
/**
* List the groups
- * @param mixed options to apply to the selection of the user
+ * @param mixed options to apply to the selection of the user (@see Database.php)
* @return array the group list.
*/
- static function groups($filter=array()) {
- return Identity::instance()->list_groups($filter);
+ static function get_group_list($filter=array()) {
+ return Identity::instance()->get_group_list($filter);
}
/**