From 4b501dda1d62195531e4c2ab1bd84971c0cd4e37 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Wed, 3 Nov 2010 20:23:50 +0000 Subject: 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 --- engine/lib/group.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engine') 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; -- cgit v1.2.3