Skip to content

Commit

Permalink
Merge pull request #17340 from demeritcowboy/not-yet-deprecated
Browse files Browse the repository at this point in the history
[NFC] Add comment that deprecated code is actually still reachable
  • Loading branch information
eileenmcnaughton authored May 17, 2020
2 parents 22bafe4 + 732e5ed commit c7c568a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Contact/Import/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,7 @@ public function formatCommonData($params, &$formatted, &$contactFields) {
$this->formatLocationBlock($value, $formatted);
}
else {
// @todo - this is still reachable - e.g. import with related contact info like firstname,lastname,spouse-first-name,spouse-last-name,spouse-home-phone
CRM_Core_Error::deprecatedFunctionWarning('this is not expected to be reachable now');
$this->formatContactParameters($value, $formatted);
}
Expand Down

0 comments on commit c7c568a

Please sign in to comment.