From a69015e09a9627c63be577d10c99143190648b7b Mon Sep 17 00:00:00 2001 From: brettp Date: Sun, 10 Jan 2010 23:29:06 +0000 Subject: Fixes #1399: Case sensitivity was never in the deprecated function, so no need to add it. Use the new functions if required. git-svn-id: http://code.elgg.org/elgg/trunk@3794 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/annotations.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'engine/lib/annotations.php') 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); } -- cgit v1.2.3