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

dev/core#2046 Rationalise add vs create on email BAO #18495

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Sep 16, 2020

Overview

This folds the email::add function into the email:create functions into one, deprecating add

Before

create calls add, add not deprecated

After

add deprecated wrapper for create

Technical Details

Discussion would be better over https://lab.civicrm.org/dev/core/-/issues/2046

Comments

Per comments on gitlab- I will close this & continue the discussion in gitlab unless this seems straight forward - once
#18494 is merged I do not believe ::add is called except from create - except for here https://github.com/giant-rabbit/com.giantrabbit.civimailchimp/blob/9fed1abd9680b1ae0e352c97b6370a6378d0313d/CRM/CiviMailchimp/Page/Webhook.php#L88 - I added an issue there on it giant-rabbit/com.giantrabbit.civimailchimp#4

This folds the 2 functions into one, deprecating add
@civibot
Copy link

civibot bot commented Sep 16, 2020

(Standard links)

@eileenmcnaughton
Copy link
Contributor Author

test this please

@eileenmcnaughton eileenmcnaughton merged commit 34ea74c into civicrm:master Sep 17, 2020
@eileenmcnaughton eileenmcnaughton deleted the email_add branch September 17, 2020 01:16
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.

2 participants