]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #1399: Case sensitivity was never in the deprecated function, so no need to...
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 10 Jan 2010 23:29:06 +0000 (23:29 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 10 Jan 2010 23:29:06 +0000 (23:29 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@3794 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/annotations.php

index f7eaa13446d4c88e055d022add764224a1674e96..2ca977a091bbb999fe87ff74519ceb9d79950954 100644 (file)
@@ -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);
 }