cleanup at api/utils
authormonishdeb <monish.deb@webaccessglobal.com>
Mon, 15 Dec 2014 18:10:06 +0000 (23:40 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Wed, 28 Jan 2015 07:46:24 +0000 (13:16 +0530)
api/v3/utils.php

index f52d1a76ec962abc3ab16a3f6559f103ed6a10d6..d06d622e1fcccbfca02ef26c8a7287dc746b29b4 100644 (file)
@@ -1399,8 +1399,6 @@ function _civicrm_api3_custom_data_get(&$returnArray, $entity, $entity_id, $grou
 function _civicrm_api3_validate_fields($entity, $action, &$params, $fields, $errorMode = FALSE) {
   $fields = array_intersect_key($fields, $params);
   foreach ($fields as $fieldName => $fieldInfo) {
-    //In some case $params[$fieldName] holds Array value in this format Array([operator] => [value])
-
     switch (CRM_Utils_Array::value('type', $fieldInfo)) {
       case CRM_Utils_Type::T_INT:
         //field is of type integer