aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2013-04-19 08:05:25 -0400
committerCash Costello <cash.costello@gmail.com>2013-04-19 08:05:25 -0400
commitf1d0a8e62f25002644c7b0394d5a8940d4ac7e5b (patch)
treeb28f898706bad8a23aba9a6ba53897c8441c7e7e /engine
parent21d8d10c3a3e974f1dfc110ad55e09a1d4db98c9 (diff)
downloadelgg-f1d0a8e62f25002644c7b0394d5a8940d4ac7e5b.tar.gz
elgg-f1d0a8e62f25002644c7b0394d5a8940d4ac7e5b.tar.bz2
Fixes #5367 returning all groups that a user belongs to - need to deprecate this function
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/group.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php
index 624029d98..359bc59c2 100644
--- a/engine/lib/group.php
+++ b/engine/lib/group.php
@@ -242,7 +242,8 @@ function get_users_membership($user_guid) {
$options = array(
'relationship' => 'member',
'relationship_guid' => $user_guid,
- 'inverse_relationship' => FALSE
+ 'inverse_relationship' => false,
+ 'limit' => false,
);
return elgg_get_entities_from_relationship($options);
}