Cache loader - remove legacy handling, handle null result from setting
authoreileen <emcnaughton@wikimedia.org>
Thu, 30 Jul 2020 03:27:24 +0000 (15:27 +1200)
committereileen <emcnaughton@wikimedia.org>
Thu, 30 Jul 2020 03:27:24 +0000 (15:27 +1200)
commit272dfdc3614e36ff91d3f4f7d4344c69b1fd3d3c
treef77f9334a3664c0a421b45df40faa4a7b19caca6
parent101f1f244307b4eb1c022049ae706dd415daef13
Cache loader - remove legacy handling, handle null result from setting

We are seeing this symptom in our tests in some cases
https://civicrm.stackexchange.com/questions/28897/error-when-merging-accounts

I'm not quite sure why the setting would be empty - but treating empty the same as 'default'
seems better than a hard fail and we know that settings have a track history of not all being
loaded at the right times.

This also removes some legacy handling
Civi/Core/Container.php