(REF) AfformSaveTrait - Extract helper $isChanged
authorTim Otten <totten@civicrm.org>
Thu, 19 Dec 2019 04:12:54 +0000 (20:12 -0800)
committerCiviCRM <info@civicrm.org>
Wed, 16 Sep 2020 02:13:20 +0000 (19:13 -0700)
commitbca1e4f881d2126b32bb2652fa6965e9a858b1ee
treef1d86b59e33bde9ecd804a180c619b823cf23b40
parent01aa61a33a956c80b148799a27f64b1787d63277
(REF) AfformSaveTrait - Extract helper $isChanged

I was originally expecting to need to flush the menu whenever the
`permission` changed.  That's not necessary now (because the true permission
check is deferred until it's needed), but the cleanup may still be helpful
in the future (e.g.  if we enable nav-menu integration or change the way
permissions are implemented).
ext/afform/core/Civi/Api4/Utils/AfformSaveTrait.php