From 7916edda4afa2c75654a120a40f2e04c46079b57 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 31 Dec 2011 20:21:37 -0500 Subject: Fixes #4204 using only the relationship for getting members of a site --- engine/classes/ElggSite.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engine') 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, -- cgit v1.2.3