[REF] Cleanup usage of CRM_Core_BAO_PrevNextCache::setItem and deprecate passing...
authorSeamus Lee <seamuslee001@gmail.com>
Sat, 29 Jun 2019 02:15:37 +0000 (12:15 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 12 Jul 2019 21:10:41 +0000 (07:10 +1000)
commite1c519d764c556d5bc38ec1c8031a7900eca930e
treeba645381070e62b7a06f2cef3ae2a16997ac9795
parente38990f97174da2e8c848c2f3f1d0a531f43bba7
[REF] Cleanup usage of CRM_Core_BAO_PrevNextCache::setItem and deprecate passing in array of values

Fix conversion from old style format to new and add in unit test of conversion and confirm it stores data correctly in the table

Reformat Function as per Patrick's comments

Update doc block and add in comment detailing the change in function param

Fix Test
CRM/Core/BAO/PrevNextCache.php
CRM/Dedupe/Finder.php
CRM/Dedupe/Merger.php
tests/phpunit/CRM/Core/BAO/PrevNextCacheTest.php