aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/deprecated-1.8.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/deprecated-1.8.php')
-rw-r--r--engine/lib/deprecated-1.8.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/deprecated-1.8.php b/engine/lib/deprecated-1.8.php
index cef705a1b..9bca873c5 100644
--- a/engine/lib/deprecated-1.8.php
+++ b/engine/lib/deprecated-1.8.php
@@ -3587,8 +3587,8 @@ function get_metadata_for_entity($entity_guid) {
* @param int $id The id of the metadata being retrieved.
*
* @return mixed False on failure or ElggMetadata
- * @deprecated 1.8 Use elgg_get_metadata_by_id()
+ * @deprecated 1.8 Use elgg_get_metadata_from_id()
*/
function get_metadata($id) {
- return elgg_get_metadata_by_id($id);
+ return elgg_get_metadata_from_id($id);
}