CRM_Case_ManagedEntities - Fix bugs caused by double-caching
authorcolemanw <coleman@civicrm.org>
Fri, 15 Sep 2023 21:32:22 +0000 (17:32 -0400)
committercolemanw <coleman@civicrm.org>
Fri, 15 Sep 2023 23:30:03 +0000 (19:30 -0400)
commit701231635064fe3ff5b39645b966a597202c080e
tree89606ee7faa1e9c6837d37154a03b66d4f01f521
parent57763debb5b27ea47ecc1e6e214d836570bc08ab
CRM_Case_ManagedEntities - Fix bugs caused by double-caching

The list of case types was being cached twice, once by CRM_Core_Pseudoconstant
and yet again in CRM_Case_XMLRepository::$allCaseTypes.
This made getting a fresh list of case types unnecessarily difficult.
CRM/Case/XMLRepository.php
mixin/mgd-php@1/example/tests/mixin/ManagedCaseTypeTest.php