diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-28 11:36:34 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-28 11:36:34 -0700 |
commit | f16941a90bddce20cdc6a868fbc888eb3e944a5a (patch) | |
tree | fea5bbc3d8092c679758363994106b6f5b08259c /modules/user/helpers | |
parent | 051a7ae27a49c7a5687c2ee32b92962d490218de (diff) |
Add a static modifier to the private method
Diffstat (limited to 'modules/user/helpers')
-rw-r--r-- | modules/user/helpers/group.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/helpers/group.php b/modules/user/helpers/group.php index e65b6c96..3aaf1b11 100644 --- a/modules/user/helpers/group.php +++ b/modules/user/helpers/group.php @@ -83,7 +83,7 @@ class group_Core { * @param string $value value to match * @return Group_Definition the group object, or null if the name was invalid. */ - private function _lookup_by_field($field_name, $value) { + private static function _lookup_by_field($field_name, $value) { try { $user = model_cache::get("group", $value, $field_name); if ($user->loaded) { |