APIv4 - Flush navigation caches after writing or deleting navigation item
authorColeman Watts <coleman@civicrm.org>
Mon, 18 Jul 2022 15:26:47 +0000 (11:26 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 18 Jul 2022 16:25:19 +0000 (12:25 -0400)
commitcd6134ccf945da40a531d1e8d2c4f192c216f18d
treea2e44e4b5424700ec164c5ab7d01515c709f1361
parent7b9f8bdccb1fc5629760537560893ff1a5c01fe7
APIv4 - Flush navigation caches after writing or deleting navigation item

Historically the expectation was that this cache gets flushed manually.
I've kept that unchanged for legacy code (v3 create/delete and direct BAO::add)
but with APIv4 and onward the cache will get flushed automatically after a write operation.
CRM/Core/BAO/Navigation.php