Towards CRM-20155 remove duplicate calls to dedupe functions.
authoreileen <emcnaughton@wikimedia.org>
Thu, 23 Mar 2017 02:18:17 +0000 (15:18 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 23 Mar 2017 03:43:18 +0000 (16:43 +1300)
commitfedc34282dbad5d2af77cb28585bae41eeb7d1c0
tree7a8ed14ee07184b84350601875cc4f2a97bf7675
parent4f40e41e775ac27b13b70f67a220693d28f45087
Towards CRM-20155 remove duplicate calls to dedupe functions.

This is a partial commit which covers the best tested section of these & establishes the new functions.

I didn't want to make the commit too daunting. The bin file probably has not been used in years
hence all the require_once calls :-)
CRM/Contact/BAO/Contact.php
api/v3/Contact.php
bin/ContributionProcessor.php
tests/phpunit/CRM/Dedupe/DedupeFinderTest.php
tests/phpunit/api/v3/ContactTest.php