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

NFC cleanup to Membership/Renewal form classes. #12696

Merged
merged 1 commit into from
Aug 20, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Aug 20, 2018

Overview

Code tidy up - partial reviewer's commit of #12651

Before

code messier

After

code tidier

Technical Details

This is a partial reviewer's commit. Not all code in the original has been reviewed

Comments

@civibot
Copy link

civibot bot commented Aug 20, 2018

(Standard links)

@@ -1456,8 +1460,8 @@ public function submit() {
}
}

if ($formValues['payment_status_id'] != array_search('Completed', $allContributionStatus)) {
$params['status_id'] = array_search('Pending', $allMemberStatus);
if ($paymentStatus !== 'Completed') {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mattwire this PR is your code - except I added a few lines to the test that failed when re-running it & I altered this line - setting paymentStatus at the point it becomes available & using it here

@eileenmcnaughton eileenmcnaughton merged commit d3735dd into civicrm:master Aug 20, 2018
@eileenmcnaughton eileenmcnaughton deleted the matt_1 branch August 20, 2018 20:50
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