It's clear it can't be passed in from the separated off version & it also is not reached from
the importer - which leaves only external usages (not supported but deprecation will do for now)
continue;
}
- //CRM-16978:check duplicate relationship as per case id.
- if ($caseId = CRM_Utils_Array::value('case_id', $params)) {
- $contactFields['case_id'] = $caseId;
- }
if (
CRM_Contact_BAO_Relationship::checkDuplicateRelationship(
$contactFields,
}
//CRM-16978:check duplicate relationship as per case id.
+ // https://issues.civicrm.org/jira/browse/CRM-16978
if ($caseId = CRM_Utils_Array::value('case_id', $params)) {
+ CRM_Core_Error::deprecatedWarning('this code is believed to be unreachable');
$contactFields['case_id'] = $caseId;
}
if (