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

CRM-21527 - Add default to extra address::create param #11382

Merged
merged 1 commit into from
Dec 6, 2017

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Dec 6, 2017

NFC to improve standardization across BAOs. Most BAO::create() functions require only 1 param. Address was an oddball; now less so.

@totten
Copy link
Member

totten commented Dec 6, 2017

Change looks structurally safe -- any existing callers would either provide two arguments or raise an error.

I asked Coleman about this on another channel, and he mentioned that he's got an APIv4 patch+test that are working with this, so I'm satisfied on r-run.

@colemanw colemanw merged commit 9b8eab0 into civicrm:master Dec 6, 2017
@colemanw colemanw deleted the CRM-21527 branch December 6, 2017 21:19
sluc23 pushed a commit to ixiam/civicrm-core that referenced this pull request Jan 10, 2018
CRM-21527 - Add default to extra address::create param
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.

3 participants