From 34b7cd712e8c1a29f9e4a732514489a3c1505414 Mon Sep 17 00:00:00 2001 From: brettp Date: Sat, 12 Feb 2011 22:03:09 +0000 Subject: Refs #650. Replaced get_metadata() by elgg_get_metadata_by_id() git-svn-id: http://code.elgg.org/elgg/trunk@8178 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggMetadata.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/classes') diff --git a/engine/classes/ElggMetadata.php b/engine/classes/ElggMetadata.php index 1c72b1bf0..764f49067 100644 --- a/engine/classes/ElggMetadata.php +++ b/engine/classes/ElggMetadata.php @@ -30,7 +30,7 @@ class ElggMetadata extends ElggExtender { if ($id instanceof stdClass) { $metadata = $id; } else { - $metadata = get_metadata($id); + $metadata = elgg_get_metadata_by_id($id); } if ($metadata) { @@ -104,6 +104,6 @@ class ElggMetadata extends ElggExtender { * @return ElggMetadata */ public function getObjectFromID($id) { - return get_metadata($id); + return elgg_get_metadata_by_id($id); } } -- cgit v1.2.3