diff options
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r-- | engine/lib/annotations.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index f7eaa1344..2ca977a09 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -692,7 +692,9 @@ function elgg_get_entity_annotation_where_sql($table, $names = NULL, $values = N * @param $timeupper * @return unknown_type */ -function get_entities_from_annotations($entity_type = "", $entity_subtype = "", $name = "", $value = "", $owner_guid = 0, $group_guid = 0, $limit = 10, $offset = 0, $order_by = "asc", $count = false, $timelower = 0, $timeupper = 0) { +function get_entities_from_annotations($entity_type = "", $entity_subtype = "", $name = "", $value = "", +$owner_guid = 0, $group_guid = 0, $limit = 10, $offset = 0, $order_by = "asc", $count = false, +$timelower = 0, $timeupper = 0) { elgg_log('get_entities_from_annotations() was deprecated in 1.7 by elgg_get_entities_from_annotations()!', 'WARNING'); @@ -719,7 +721,7 @@ function get_entities_from_annotations($entity_type = "", $entity_subtype = "", if ($group_guid) { $options['container_guid'] = $group_guid; } - + if ($limit) { $options['limit'] = $limit; } @@ -736,9 +738,6 @@ function get_entities_from_annotations($entity_type = "", $entity_subtype = "", $options['count'] = $count; } - // need to be able to pass false - $options['annotations_case_sensitive'] = $case_sensitive; - return elgg_get_entities_from_annotations($options); } |