aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metastrings.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-03-06 16:51:20 -0500
committercash <cash.costello@gmail.com>2013-03-06 16:51:20 -0500
commit2dbb9772881131f5739bae2d1ce5955587e9ab78 (patch)
tree28fbf76261692964e9391134c3cf06da022f879a /engine/lib/metastrings.php
parent6955850778c68412983e2acf4b26f4bece199eae (diff)
downloadelgg-2dbb9772881131f5739bae2d1ce5955587e9ab78.tar.gz
elgg-2dbb9772881131f5739bae2d1ce5955587e9ab78.tar.bz2
Fixes #4393 working around the overloaded 'count' parameter
Diffstat (limited to 'engine/lib/metastrings.php')
-rw-r--r--engine/lib/metastrings.php5
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.