aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggMetadata.php
diff options
context:
space:
mode:
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 764f49067..9c13e936e 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 = elgg_get_metadata_by_id($id);
+ $metadata = elgg_get_metadata_from_id($id);
}
if ($metadata) {
@@ -104,6 +104,6 @@ class ElggMetadata extends ElggExtender {
* @return ElggMetadata
*/
public function getObjectFromID($id) {
- return elgg_get_metadata_by_id($id);
+ return elgg_get_metadata_from_id($id);
}
}