aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-03 20:23:50 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-03 20:23:50 +0000
commit4b501dda1d62195531e4c2ab1bd84971c0cd4e37 (patch)
tree9c35b3c44c54a4cd190d588164379165e73a1803
parent998a39940b27561d7a2e98b68c8929dab68fe62f (diff)
downloadelgg-4b501dda1d62195531e4c2ab1bd84971c0cd4e37.tar.gz
elgg-4b501dda1d62195531e4c2ab1bd84971c0cd4e37.tar.bz2
Refs #2351: deprecated get_objects_in_group() in favor of elgg_get_entities(). There's nothing the former can do that the latter can't, so it's not worth maintaining.
git-svn-id: http://code.elgg.org/elgg/trunk@7228 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/group.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php
index 53053976a..6b480df0c 100644
--- a/engine/lib/group.php
+++ b/engine/lib/group.php
@@ -178,9 +178,11 @@ function remove_object_from_group($group_guid, $object_guid) {
* @param bool $count Whether to return the entities or a count of them.
*
* @return array|false
+ * @deprecated 1.8 Use elgg_get_entities() instead
*/
function get_objects_in_group($group_guid, $subtype = "", $owner_guid = 0, $site_guid = 0,
$order_by = "", $limit = 10, $offset = 0, $count = FALSE) {
+ elgg_deprecated_notice("get_objects_in_group was deprected in 1.8. Use elgg_get_entities() instead", 1.8);
global $CONFIG;