Fix dedupe regression whereby deleted contacts are found
authoreileen <emcnaughton@wikimedia.org>
Fri, 21 Aug 2020 03:40:07 +0000 (15:40 +1200)
committereileen <emcnaughton@wikimedia.org>
Fri, 21 Aug 2020 06:37:16 +0000 (18:37 +1200)
commitcb5d0cde4e716ac18b0cb95aae51e5f6e102121d
tree53f7fa30097bb75ada9e7c946ba8a5a014c64ecd
parent482e99a0f7d12bc2f47274ace70845ab348466f0
Fix dedupe regression whereby deleted contacts are found

This affects api calls where check_permissions = TRUE and getduplicates is called. This can be
done via the api (per this test) or ann easy UI way is with the deduper extension but it should
also affect the 'normal' dedupe screen.

Note that there can be cases where the dedupe results are cached into prevnext cache to hide this
CRM/Dedupe/BAO/RuleGroup.php
tests/phpunit/CRM/Dedupe/MergerTest.php