From 1f2022cc5393ee61cbf2361f51eee39d43727f96 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 1 Dec 2010 01:23:43 +0000 Subject: Fixes #2430 adds get_entities_from_access_collection() into trunk git-svn-id: http://code.elgg.org/elgg/trunk@7486 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/access.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/engine/lib/access.php b/engine/lib/access.php index f557c939e..b87d150c0 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -808,6 +808,18 @@ function get_entities_from_access_id($collection_id, $entity_type = "", $entity_ return elgg_get_entities_from_access_id($options); } +/** + * @deprecated 1.7 + */ +function get_entities_from_access_collection($collection_id, $entity_type = "", $entity_subtype = "", + $owner_guid = 0, $limit = 10, $offset = 0, $order_by = "", $site_guid = 0, $count = false) { + + elgg_deprecated_notice('get_entities_from_access_collection() was deprecated by elgg_get_entities()', 1.7); + + return get_entities_from_access_id($collection_id, $entity_type, $entity_subtype, + $owner_guid, $limit, $offset, $order_by, $site_guid, $count); +} + /** * Return entities based upon access id. * -- cgit v1.2.3