aboutsummaryrefslogtreecommitdiff
path: root/views/default/export/entity.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 21:59:10 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 21:59:10 +0000
commitdaadd01b5eaf9da933a9fa35a0dec57bdca790a6 (patch)
treef95157388d314a0dc549f48dd9cfc2dad0fecd86 /views/default/export/entity.php
parent59efd0b27c25fa0f759dbfd4ec29061d86b6c402 (diff)
downloadelgg-daadd01b5eaf9da933a9fa35a0dec57bdca790a6.tar.gz
elgg-daadd01b5eaf9da933a9fa35a0dec57bdca790a6.tar.bz2
Refs #650: Replaced uses of get_metadata_for_entity() by elgg_get_metadata().
git-svn-id: http://code.elgg.org/elgg/trunk@8177 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/export/entity.php')
-rw-r--r--views/default/export/entity.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/views/default/export/entity.php b/views/default/export/entity.php
index faf27e932..ccee86718 100644
--- a/views/default/export/entity.php
+++ b/views/default/export/entity.php
@@ -11,9 +11,12 @@ $entity = $vars['entity'];
if (!$entity) {
throw new InvalidParameterException(elgg_echo('InvalidParameterException:NoEntityFound'));
}
-
-$metadata = get_metadata_for_entity($entity->guid);
-$annotations = get_annotations($entity->guid);
+$options = array(
+ 'guid' => $entity->guid,
+ 'limit' => 0
+);
+$metadata = elgg_get_metadata($options);
+$annotations = elgg_get_annotations($options);
$relationships = get_entity_relationships($entity->guid);
$exportable_values = $entity->getExportableValues();