aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 21:59:10 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 21:59:10 +0000
commitdaadd01b5eaf9da933a9fa35a0dec57bdca790a6 (patch)
treef95157388d314a0dc549f48dd9cfc2dad0fecd86 /engine/lib/metadata.php
parent59efd0b27c25fa0f759dbfd4ec29061d86b6c402 (diff)
downloadelgg-daadd01b5eaf9da933a9fa35a0dec57bdca790a6.tar.gz
elgg-daadd01b5eaf9da933a9fa35a0dec57bdca790a6.tar.bz2
Refs #650: Replaced uses of get_metadata_for_entity() by elgg_get_metadata().
git-svn-id: http://code.elgg.org/elgg/trunk@8177 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r--engine/lib/metadata.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php
index c123a89b0..600e72e71 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -328,6 +328,12 @@ function delete_metadata($id) {
*
* @see elgg_get_entities
*
+ * @warning 1.7's find_metadata() didn't support limits and returned all metadata.
+ * This function defaults to a limit of 25. There is probably not a reason
+ * for you to return all metadata unless you're exporting an entity,
+ * have other restraints in place, or are doing something horribly
+ * wrong in your code.
+ *
* @param array $options Array in format:
*
* metadata_names => NULL|ARR metadata names