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

Cleanup of api_v3_membership_create towards #11556 #12313

Merged

Conversation

mattwire
Copy link
Contributor

Overview

This is a partial of #11556 - it contains part of that code tidy up

Before

Code less maintainable

After

Code more maintainable

Technical Details

Adds commenting and rearranges the new/updated membership params if/else so it is clear what is being set in each case

@eileenmcnaughton This is an extraction towards #11556

@civibot
Copy link

civibot bot commented Jun 15, 2018

(Standard links)

@eileenmcnaughton
Copy link
Contributor

@omarabuhussein a reviewable chunk of that other one!

@eileenmcnaughton
Copy link
Contributor

I went through this & agree there is no functional change, just a readability change. Merging

@eileenmcnaughton eileenmcnaughton merged commit c9dbdca into civicrm:master Jun 17, 2018
@omarabuhussein
Copy link
Member

sorry I was on vacation on 3 days ago and missed it.

@mattwire mattwire deleted the CRM-21682_api_v3_membership_cleanup branch September 25, 2018 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants