aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-14 03:46:22 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-14 03:46:22 +0000
commitf2f56bd289aad331634b4e5bfaae8e67795a63f8 (patch)
tree240b317b42cdc4a29da8c18563ddb6902805bd8e /engine/classes
parentc9d4cf5b0b0f5ad3056cd4d6dc744a8b4890fb4e (diff)
downloadelgg-f2f56bd289aad331634b4e5bfaae8e67795a63f8.tar.gz
elgg-f2f56bd289aad331634b4e5bfaae8e67795a63f8.tar.bz2
Removed last of deprecated metadata calls in trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@8224 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggEntity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggEntity.php b/engine/classes/ElggEntity.php
index 1be1d5d15..e0d46f5a7 100644
--- a/engine/classes/ElggEntity.php
+++ b/engine/classes/ElggEntity.php
@@ -294,7 +294,7 @@ abstract class ElggEntity extends ElggData implements
unset($this->temp_metadata[$name]);
foreach ($value as $v) {
if ((int) $this->guid > 0) {
- elgg_delete_metadata(array('guid' => $this->guid, 'metadata_name' => $name));
+ elgg_delete_metadata(array('guid' => $this->guid, 'metadata_name' => $name, 'limit' => 0));
$multiple = true;
if (!create_metadata($this->getGUID(), $name, $v, $value_type,
$this->getOwnerGUID(), $this->getAccessID(), $multiple)) {