aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-05-10 20:09:15 -0700
committerBrett Profitt <brett.profitt@gmail.com>2012-05-10 20:09:15 -0700
commit1c810fd7d66e3b5121edeba1bf5bf7d118625931 (patch)
tree229814a5b3691b96fb62962ce6808f3e9285916d /engine/lib/metadata.php
parent25b1a1ea11182b6fc195f4cca76ec4788d79c65e (diff)
downloadelgg-1c810fd7d66e3b5121edeba1bf5bf7d118625931.tar.gz
elgg-1c810fd7d66e3b5121edeba1bf5bf7d118625931.tar.bz2
Fixes #4512. Passing inc_offset only for deleting / disabling callbacks in metastring functions.
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r--engine/lib/metadata.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php
index 973d447f5..0ff3a43dc 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -309,7 +309,7 @@ function elgg_delete_metadata(array $options) {
}
$options['metastring_type'] = 'metadata';
- return elgg_batch_metastring_based_objects($options, 'elgg_batch_delete_callback');
+ return elgg_batch_metastring_based_objects($options, 'elgg_batch_delete_callback', false);
}
/**
@@ -329,7 +329,7 @@ function elgg_disable_metadata(array $options) {
}
$options['metastring_type'] = 'metadata';
- return elgg_batch_metastring_based_objects($options, 'elgg_batch_disable_callback');
+ return elgg_batch_metastring_based_objects($options, 'elgg_batch_disable_callback', false);
}
/**