Move deprecated function back to the only class that calls it
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 15 Jan 2022 19:44:14 +0000 (08:44 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 16 Jan 2022 02:13:30 +0000 (15:13 +1300)
commit3b9a69463536dd1e04e183100f446a7a977f6234
treedccdea077921e4583d59be3db5444a216b4d8ea4
parent2d5dd21435e3c56f64e572dc77b49e19791410dc
Move deprecated function back to the only class that calls it

This function is only called from the importer (in core) - copy back there & noisily
deprecate (one known extension usage).

Note that I removed 2 parts of it in the copy back that are unreachable
as only specific params are passed in we know they don't include
case & always include skipRecent

https://github.com/civicrm/civicrm-core/blob/5484728757de4c85d44305a92bfa2aa35351fbce/CRM/Contact/Import/Parser/Contact.php#L880-L887
CRM/Contact/BAO/Relationship.php
CRM/Contact/Import/Parser/Contact.php
tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php