diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-01-10 23:29:06 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-01-10 23:29:06 +0000 |
commit | a69015e09a9627c63be577d10c99143190648b7b (patch) | |
tree | 6cefd251cbfe88dfc48ccac200b6d999ecd66ae5 /engine/lib/annotations.php | |
parent | f3303c8895ca25dda6cb8d5c9d1126ad85e19d66 (diff) | |
download | elgg-a69015e09a9627c63be577d10c99143190648b7b.tar.gz elgg-a69015e09a9627c63be577d10c99143190648b7b.tar.bz2 |
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
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); } |