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

[REF] Pass params into function rather than this weird check for whether params exists. #16438

Merged
merged 2 commits into from
Jan 31, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Minor code tidy up = This function used to be shared with the online form & hence this form had to work to make itself 'look' like the other form.

It is now free to be it's own form

Before

form does a weird check for $this->_params & then assigns them to params

After

we just pass them in as params

Technical Details

Comments

Anything else you would like the reviewer to note

…her params exists.

This function used to be shared with the online form & hence this form had to work to make itself 'look' like the other form.

It is now free to be it's own form
@civibot
Copy link

civibot bot commented Jan 31, 2020

(Standard links)

@civibot civibot bot added the master label Jan 31, 2020
@seamuslee001
Copy link
Contributor

@eileenmcnaughton
Copy link
Contributor Author

test this please

@eileenmcnaughton
Copy link
Contributor Author

@seamuslee001 it's passed now.

@colemanw colemanw merged commit 92fd030 into civicrm:master Jan 31, 2020
@colemanw colemanw deleted the ev_clean branch January 31, 2020 22:32
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.

3 participants