diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-05-10 20:09:15 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-05-10 20:09:15 -0700 |
commit | 1c810fd7d66e3b5121edeba1bf5bf7d118625931 (patch) | |
tree | 229814a5b3691b96fb62962ce6808f3e9285916d /engine/lib/annotations.php | |
parent | 25b1a1ea11182b6fc195f4cca76ec4788d79c65e (diff) | |
download | elgg-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/annotations.php')
-rw-r--r-- | engine/lib/annotations.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index 7383f5e04..2036ccd61 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -220,7 +220,7 @@ function elgg_delete_annotations(array $options) { } $options['metastring_type'] = 'annotations'; - return elgg_batch_metastring_based_objects($options, 'elgg_batch_delete_callback'); + return elgg_batch_metastring_based_objects($options, 'elgg_batch_delete_callback', false); } /** @@ -238,7 +238,7 @@ function elgg_disable_annotations(array $options) { } $options['metastring_type'] = 'annotations'; - return elgg_batch_metastring_based_objects($options, 'elgg_batch_disable_callback'); + return elgg_batch_metastring_based_objects($options, 'elgg_batch_disable_callback', false); } /** |