diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-21 13:00:08 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-21 13:00:08 +0000 |
commit | 75187715f6d7a04bbda4858d6a17138001da4807 (patch) | |
tree | 9a87d9b742c6f82bd6a9ac3a9c51c972ec6cb670 /engine/classes/ElggSite.php | |
parent | c100c017b6c9aeb6faf5b901fe0e128035e9b1e0 (diff) | |
download | elgg-75187715f6d7a04bbda4858d6a17138001da4807.tar.gz elgg-75187715f6d7a04bbda4858d6a17138001da4807.tar.bz2 |
deprecated two site functions and removed a use of previously deprecated function in the wire plugin
git-svn-id: http://code.elgg.org/elgg/trunk@7396 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes/ElggSite.php')
-rw-r--r-- | engine/classes/ElggSite.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engine/classes/ElggSite.php b/engine/classes/ElggSite.php index 6c70d176b..93d442e0a 100644 --- a/engine/classes/ElggSite.php +++ b/engine/classes/ElggSite.php @@ -204,7 +204,14 @@ class ElggSite extends ElggEntity { * @return array of ElggUsers */ public function getMembers($limit = 10, $offset = 0) { - get_site_members($this->getGUID(), $limit, $offset); + return elgg_get_entities_from_relationship(array( + 'relationship' => 'member_of_site', + 'relationship_guid' => $this->getGUID(), + 'inverse_relationship' => TRUE, + 'types' => 'user', + 'limit' => $limit, + 'offset' => $offset + )); } /** |