diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-14 08:04:28 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-14 08:04:28 +0000 |
commit | aa5bb3f0bc17d858831412da82eef805ecafac89 (patch) | |
tree | 1a8c281c27778755bd9db83f8aa5822706a3b5db /engine/lib/access.php | |
parent | bddba2985d89ff3ed9f52681b37cdce7a9c22bd9 (diff) | |
download | elgg-aa5bb3f0bc17d858831412da82eef805ecafac89.tar.gz elgg-aa5bb3f0bc17d858831412da82eef805ecafac89.tar.bz2 |
Fixes #2334: Converted viewtype => listtype and viewtypetoggle => listtypetoggle. Did my best to maintain backwards compatibility but might have missed something...
git-svn-id: http://code.elgg.org/elgg/trunk@7311 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/access.php')
-rw-r--r-- | engine/lib/access.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php index 053c46e6f..d56eb3dea 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -859,7 +859,7 @@ function elgg_list_entities_from_access_id(array $options = array()) { * @deprecated 1.8 Use elgg_list_entities_from_access_id() */ function list_entities_from_access_id($access_id, $entity_type = "", $entity_subtype = "", - $owner_guid = 0, $limit = 10, $fullview = true, $viewtypetoggle = true, $pagination = true) { + $owner_guid = 0, $limit = 10, $fullview = true, $listtypetoggle = true, $pagination = true) { elgg_deprecated_notice("All list_entities* functions were deprecated in 1.8. Use elgg_list_entities* instead.", 1.8); @@ -870,7 +870,7 @@ function list_entities_from_access_id($access_id, $entity_type = "", $entity_sub 'owner_guids' => $owner_guid, 'limit' => $limit, 'full_view' => $fullview, - 'view_type_toggle' => $viewtypetoggle, + 'list_type_toggle' => $listtypetoggle, 'pagination' => $pagination, )); } |