Rewrite subTypeInfo to use caching mechanism
authoreileen <emcnaughton@wikimedia.org>
Wed, 3 Jul 2019 01:20:52 +0000 (13:20 +1200)
committereileen <emcnaughton@wikimedia.org>
Fri, 9 Aug 2019 02:23:11 +0000 (14:23 +1200)
commit81c4c1480428c30469fbfa8d94bd403be97f8503
treeabbc31730583d7de8c8b1f0a634c5ffd953ce087
parent920cc063b006301e3cc5aaeca513693467fd6042
Rewrite subTypeInfo to use caching mechanism

This seems to be getting a lot of cache misses on prod - presumably due to a lack of sub types
so fixing to use 'modern caching';
CRM/Contact/BAO/ContactType.php
CRM/Utils/System.php
Civi/Core/Container.php
tests/phpunit/CRM/Contact/BAO/ContactType/ContactTypeTest.php