diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-05-10 16:00:08 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-05-10 16:00:08 -0700 |
commit | acd2c9a08b623bda5b372942ce4c55b789b4ce56 (patch) | |
tree | 77d1f8bfadc7fe207d31489bb50c4c80c20ba943 /engine/lib/metastrings.php | |
parent | 0502752eb7ec0a9a61727fbdae226d54671c4fa2 (diff) | |
download | elgg-acd2c9a08b623bda5b372942ce4c55b789b4ce56.tar.gz elgg-acd2c9a08b623bda5b372942ce4c55b789b4ce56.tar.bz2 |
Documented that elgg_delete_metadata/annotations() returns null for no ops.
Diffstat (limited to 'engine/lib/metastrings.php')
-rw-r--r-- | engine/lib/metastrings.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/metastrings.php b/engine/lib/metastrings.php index d7cc4e0bc..0c858c9d3 100644 --- a/engine/lib/metastrings.php +++ b/engine/lib/metastrings.php @@ -716,6 +716,8 @@ function elgg_set_metastring_based_object_enabled_by_id($id, $enabled, $type) { * @warning Unlike elgg_get_metastring_based_objects() this will not accept an * empty options array! * + * @warning This returns null on no ops. + * * @param array $options An options array. {@See elgg_get_metastring_based_objects()} * @param string $callback The callback to pass each result through * @return mixed @@ -727,7 +729,6 @@ function elgg_batch_metastring_based_objects(array $options, $callback) { return false; } - // @todo restore once ElggBatch supports callbacks that delete rows. $batch = new ElggBatch('elgg_get_metastring_based_objects', $options, $callback, 50, false); $r = $batch->callbackResult; |