dev/core#2823 Restructure determination of required actions.
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 8 Sep 2021 05:08:34 +0000 (17:08 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 12 Sep 2021 22:25:20 +0000 (10:25 +1200)
commita092536e5335dbed5fbfa03f797c81bc88680a90
treebe22ee0819fd0bbf0356d9ea9b2fc21aca2cd8bb
parent827174446ca12c61d2c2a2d22b56a64d274c5744
dev/core#2823 Restructure determination of required actions.

The expected actions are now calculated at the start of reconcile.
and retrievable by function.

The code that calls the action-actions
is still pretty cludgey - but the intent is that
we would stop passing the dao object into those
action-action functions in the near future.

This PR punts any decisions about how outputs might look
(eg. making the array retrievable from outside of the function.

Note that there is pretty comprehensive
test cover in CRM_Core_ManagedEntitiesTest
CRM/Core/ManagedEntities.php