From a581b439ac78f5d6b742cbbce88a017b4f5ea17c Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 2 Aug 2013 23:43:54 +1200 Subject: [PATCH] CRM-13149 remove code comment --- CRM/Core/DAO.php | 1 - 1 file changed, 1 deletion(-) diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index 37e457c021..9a83e35c59 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -1826,7 +1826,6 @@ EOS; public function createSQLFilter($fieldName, $filter, $type, $alias = NULL) { // http://issues.civicrm.org/jira/browse/CRM-9150 - stick with 'simple' operators for now // support for other syntaxes is discussed in ticket but being put off for now - //@todo consolidate this and the version from api/v3/utils.php into one location $acceptedSQLOperators = array('=', '<=', '>=', '>', '<', 'LIKE', "<>", "!=", "NOT LIKE", 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN'); foreach ($filter as $operator => $criteria) { if (in_array($operator, $acceptedSQLOperators)) { -- 2.25.1