diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 22:06:17 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 22:06:17 +0000 |
commit | cfde4ba516f7993043c467f6c63eaeab9390232b (patch) | |
tree | 77caf011381fe7ce68823d80baf8880a39476aac /engine/classes | |
parent | 34b7cd712e8c1a29f9e4a732514489a3c1505414 (diff) | |
download | elgg-cfde4ba516f7993043c467f6c63eaeab9390232b.tar.gz elgg-cfde4ba516f7993043c467f6c63eaeab9390232b.tar.bz2 |
Refs #650. Changed elgg_get_metadata_by_id() to elgg_get_metadata_from_id() to be consistent with other functions.
git-svn-id: http://code.elgg.org/elgg/trunk@8179 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes')
-rw-r--r-- | engine/classes/ElggMetadata.php | 4 |
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); } } |