diff options
author | Cash Costello <cash.costello@gmail.com> | 2013-03-06 14:38:25 -0800 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-03-06 14:38:25 -0800 |
commit | d051e788e7ded0811dd14c6b47bcbda602737539 (patch) | |
tree | 28fbf76261692964e9391134c3cf06da022f879a /engine/lib/metastrings.php | |
parent | 4b889e9cc7c629bb408fc8e470a80a7ab283fffc (diff) | |
parent | 2dbb9772881131f5739bae2d1ce5955587e9ab78 (diff) | |
download | elgg-d051e788e7ded0811dd14c6b47bcbda602737539.tar.gz elgg-d051e788e7ded0811dd14c6b47bcbda602737539.tar.bz2 |
Merge pull request #5203 from cash/bug_4393
Fixes the count issue with elgg_get_entities_from_annotation_calculation()
Diffstat (limited to 'engine/lib/metastrings.php')
-rw-r--r-- | engine/lib/metastrings.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/engine/lib/metastrings.php b/engine/lib/metastrings.php index 76c4bd8c4..f49b4a163 100644 --- a/engine/lib/metastrings.php +++ b/engine/lib/metastrings.php @@ -389,11 +389,6 @@ function elgg_get_metastring_based_objects($options) { $selects = $options['selects']; - // allow count shortcut - if ($options['count']) { - $options['metastring_calculation'] = 'count'; - } - // For performance reasons we don't want the joins required for metadata / annotations // unless we're going through one of their callbacks. // this means we expect the functions passing different callbacks to pass their required joins. |