From ba62192840f218d7568d88dee7582568d6c869b9 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 7 Apr 2023 13:41:22 +1200 Subject: [PATCH] Remvoe a long-deprecated bit of code --- CRM/Contact/BAO/Query.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 86c6ae86fc..6155dccd1d 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -5665,12 +5665,6 @@ civicrm_relationship.start_date > {$today} return $queryString; } - if (!empty($value[0]) && $op === 'BETWEEN') { - CRM_Core_Error::deprecatedFunctionWarning('Fix search input params'); - if (($queryString = CRM_Core_DAO::createSQLFilter($field, [$op => $value], $dataType)) != FALSE) { - return $queryString; - } - } throw new CRM_Core_Exception(ts('Failed to interpret input for search')); } $emojiWhere = CRM_Utils_SQL::handleEmojiInQuery($value); -- 2.25.1