remove unecessary validation rule
authormonishdeb <monish.deb@webaccessglobal.com>
Mon, 26 Oct 2015 11:47:09 +0000 (17:17 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Mon, 26 Oct 2015 11:47:09 +0000 (17:17 +0530)
CRM/Utils/DeprecatedUtils.php

index 056e1b403f7becdc6ba594428239df345a33eb4e..5d3ae2552fe69a9682056ce8298dc898cbe8446c 100644 (file)
@@ -366,9 +366,6 @@ function _civicrm_api3_deprecated_formatted_param($params, &$values, $create = F
           if ($onDuplicate == CRM_Import_Parser::DUPLICATE_UPDATE) {
             return civicrm_api3_create_error("Empty Contribution and Invoice and Transaction ID. Row was skipped.");
           }
-          else {
-            return civicrm_api3_create_error("No Contact ID, External ID and/or Email provided. Row was skipped.");
-          }
         }
         break;