aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-03 02:54:38 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-03 02:54:38 +0000
commit13a1ba548a14cbcce20e0f09ebed4251c9b514b3 (patch)
tree0d57faa469c2bc578451a7e79926482e02ff2f44
parentdb7b497114329dda5f560198884c5bc5fbb3c1a8 (diff)
downloadelgg-13a1ba548a14cbcce20e0f09ebed4251c9b514b3.tar.gz
elgg-13a1ba548a14cbcce20e0f09ebed4251c9b514b3.tar.bz2
Fixed regression in deprecated list_entities_from_access_id -- was passing access_id as 'collection_id' instead of 'access_id'
git-svn-id: http://code.elgg.org/elgg/trunk@7216 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/access.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index 78f933b27..dd69d2168 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -858,13 +858,13 @@ function elgg_list_entities_from_access_id(array $options = array()) {
* @return str
* @deprecated 1.8 Use elgg_list_entities_from_access_id()
*/
-function list_entities_from_access_id($collection_id, $entity_type = "", $entity_subtype = "",
+function list_entities_from_access_id($access_id, $entity_type = "", $entity_subtype = "",
$owner_guid = 0, $limit = 10, $fullview = true, $viewtypetoggle = true, $pagination = true) {
elgg_deprecated_notice("All list_entities* functions were deprecated in 1.8. Use elgg_list_entities* instead.", 1.8);
echo elgg_list_entities_from_access_id(array(
- 'collection_id' => $collection_id,
+ 'access_id' => $collection_id,
'types' => $entity_type,
'subtypes' => $entity_subtype,
'owner_guids' => $owner_guid,