aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/export.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-17 23:14:33 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-17 23:14:33 +0000
commitba94a48ff66a001dd20c5ac2da34681880583945 (patch)
tree29b0ebfcd19ba03c69cd8ad7e4171c0002b3d207 /engine/lib/export.php
parentb3012350e2d8dafaf696e2c472f8cf0ae5e1674b (diff)
downloadelgg-ba94a48ff66a001dd20c5ac2da34681880583945.tar.gz
elgg-ba94a48ff66a001dd20c5ac2da34681880583945.tar.bz2
Fixes #1488: Removed use of deprecated functions in core.
git-svn-id: http://code.elgg.org/elgg/trunk@3947 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/export.php')
-rw-r--r--engine/lib/export.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/export.php b/engine/lib/export.php
index e3acace5f..c541b583b 100644
--- a/engine/lib/export.php
+++ b/engine/lib/export.php
@@ -121,7 +121,7 @@ function is_uuid_this_domain($uuid) {
function get_entity_from_uuid($uuid) {
$uuid = sanitise_string($uuid);
- $entities = get_entities_from_metadata("import_uuid", $uuid);
+ $entities = elgg_get_entities_from_metadata(array('metadata_name' => 'import_uuid', 'metadata_value' => $uuid));
if ($entities) {
return $entities[0];
@@ -253,4 +253,4 @@ function export_init() {
}
// Register a startup event
-register_elgg_event_handler('init', 'system', 'export_init', 100); \ No newline at end of file
+register_elgg_event_handler('init', 'system', 'export_init', 100);