aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggMetadata.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 22:03:09 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 22:03:09 +0000
commit34b7cd712e8c1a29f9e4a732514489a3c1505414 (patch)
tree80ec7ba8f839789ee74529110c65b73ada78f642 /engine/classes/ElggMetadata.php
parentdaadd01b5eaf9da933a9fa35a0dec57bdca790a6 (diff)
downloadelgg-34b7cd712e8c1a29f9e4a732514489a3c1505414.tar.gz
elgg-34b7cd712e8c1a29f9e4a732514489a3c1505414.tar.bz2
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
Diffstat (limited to 'engine/classes/ElggMetadata.php')
-rw-r--r--engine/classes/ElggMetadata.php4
1 files changed, 2 insertions, 2 deletions
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);
}
}