-
- Downloads
#982 add dedupe.getstatistics api
Per gitlab the intent is to add a bunch of api so get the logic out of the form into somewhere more accessible. Following agreement on this I would change all calls to CRM_Dedupe_Merger::getMergeStats to call this api and get rid of the call to CRM_Core_BAO_PrevNextCache::retrieve from getMergeStats since that retrieve function really does differrent stuff & is being kinda pointlessly overloaded here.
Showing
- CRM/Core/BAO/PrevNextCache.php 22 additions, 0 deletionsCRM/Core/BAO/PrevNextCache.php
- CRM/Dedupe/Merger.php 10 additions, 8 deletionsCRM/Dedupe/Merger.php
- api/v3/Dedupe.php 150 additions, 0 deletionsapi/v3/Dedupe.php
- api/v3/utils.php 5 additions, 0 deletionsapi/v3/utils.php
- tests/phpunit/CRM/Dedupe/MergerTest.php 11 additions, 1 deletiontests/phpunit/CRM/Dedupe/MergerTest.php
- tests/phpunit/api/v3/ContactTest.php 1 addition, 0 deletionstests/phpunit/api/v3/ContactTest.php
- tests/phpunit/api/v3/SyntaxConformanceTest.php 1 addition, 0 deletionstests/phpunit/api/v3/SyntaxConformanceTest.php
Loading
Please register or sign in to comment