diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-20 17:21:33 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-20 17:21:33 -0700 |
commit | b28c758d4a98c9e877fb81f7b88f9c8597de74b6 (patch) | |
tree | f3d4257d739a3b23f0168b5618dab2586491b697 /modules/user/libraries | |
parent | 3ece1a01f25270939b3c12f754d555d6ac54d375 (diff) |
Add lookup_group Identity provider API and change the permissions controller to use it to get the group it is modifying
Diffstat (limited to 'modules/user/libraries')
-rw-r--r-- | modules/user/libraries/drivers/Identity/Gallery.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/user/libraries/drivers/Identity/Gallery.php b/modules/user/libraries/drivers/Identity/Gallery.php index 8e6e204d..17327c17 100644 --- a/modules/user/libraries/drivers/Identity/Gallery.php +++ b/modules/user/libraries/drivers/Identity/Gallery.php @@ -116,10 +116,10 @@ class Identity_Gallery_Driver implements Identity_Driver { } /** - * @see Identity_Driver::lookup_group_by_name. + * @see Identity_Driver::lookup_group. */ - static function lookup_group_by_name($name) { - return group::lookup_by_field("name", $name); + static function lookup_group($id) { + return group::lookup_by_field("id", $id); } /** |