aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/access.php12
1 files changed, 12 insertions, 0 deletions
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
@@ -809,6 +809,18 @@ function get_entities_from_access_id($collection_id, $entity_type = "", $entity_
}
/**
+ * @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.
*
* @param array $options Any options accepted by {@link elgg_get_entities()} and: