Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIv4 - Add Managed::reconcile action. #23243

Merged
merged 1 commit into from
Apr 27, 2022
Merged

Conversation

colemanw
Copy link
Member

Overview

Adds APIv4 wrapper around ManagedEntities->reconcile();

Before

Extensions had to call internal function to trigger this.

After

Now they have an API.

Comments

Note that per the defaults, the permission required to use this action is "administer CiviCRM".

Adds APIv4 wrapper around ManagedEntities->reconcile();
@civibot
Copy link

civibot bot commented Apr 19, 2022

(Standard links)

@civibot civibot bot added the master label Apr 19, 2022
@eileenmcnaughton
Copy link
Contributor

Yay for an api - I had always hoped we would also add an api to get the 'plan' so we could try before we buy when reconciling

@totten
Copy link
Member

totten commented Apr 19, 2022

Extensions had to call internal function to trigger this.

Extensions could also call System.flush, but that would have a bigger cost+effect. Agree that a narrower API is also useful. 👍

@colemanw colemanw changed the title APIv4 - Add Managed::reconcile() action. APIv4 - Add Managed::reconcile action. Apr 19, 2022
@seamuslee001
Copy link
Contributor

This seems like a good improvement to me

@seamuslee001 seamuslee001 merged commit 82ba010 into civicrm:master Apr 27, 2022
@seamuslee001 seamuslee001 deleted the reconcile branch April 27, 2022 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants