aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-12-31 20:21:37 -0500
committercash <cash.costello@gmail.com>2011-12-31 20:21:37 -0500
commit7916edda4afa2c75654a120a40f2e04c46079b57 (patch)
tree5bbb51031674a830b9e66e810f45ad46fd74e9ef /engine/classes
parentdfcd3dafeeb61fe61fec96f4a0a6c09ed92deda7 (diff)
downloadelgg-7916edda4afa2c75654a120a40f2e04c46079b57.tar.gz
elgg-7916edda4afa2c75654a120a40f2e04c46079b57.tar.bz2
Fixes #4204 using only the relationship for getting members of a site
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggSite.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/classes/ElggSite.php b/engine/classes/ElggSite.php
index 686046512..7ea52a195 100644
--- a/engine/classes/ElggSite.php
+++ b/engine/classes/ElggSite.php
@@ -235,6 +235,7 @@ class ElggSite extends ElggEntity {
}
$defaults = array(
+ 'site_guids' => ELGG_ENTITIES_ANY_VALUE,
'relationship' => 'member_of_site',
'relationship_guid' => $this->getGUID(),
'inverse_relationship' => TRUE,
@@ -258,6 +259,7 @@ class ElggSite extends ElggEntity {
*/
public function listMembers($options = array()) {
$defaults = array(
+ 'site_guids' => ELGG_ENTITIES_ANY_VALUE,
'relationship' => 'member_of_site',
'relationship_guid' => $this->getGUID(),
'inverse_relationship' => TRUE,