[REF] Reduce interaction between dedupe code and createProfileContact
authoreileen <emcnaughton@wikimedia.org>
Thu, 23 Jul 2020 03:39:55 +0000 (15:39 +1200)
committereileen <emcnaughton@wikimedia.org>
Thu, 23 Jul 2020 08:47:41 +0000 (20:47 +1200)
commitd00dc576f104e3ab8dd86ab99c9ded4fedfc9dcd
treeba200c54a42e42bd84ecff76743d55480aba9f7d
parent7526f12226fdd2e6c5046386a655aa82c59ebc1f
[REF] Reduce interaction between dedupe code and createProfileContact

Ideally we want to simply call apiv4 from the deduper. However, it seems to take a bit of analysis to determine
if anything is done in there that might have some impact. This takes one step in that direction.  I copied the full function over
and then remove all the parts that are unreachable due to the passed in params or meaningless due to us not having Billing
fields. I think the Profile hooks are overkill - the merge hooks and contact hooks are being run and no profile is being submitted
CRM/Dedupe/Merger.php