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

Only do cms account create from the one relevant place #19234

Merged
merged 1 commit into from
Dec 16, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Dec 16, 2020

This function is called from 3 places - create CMS user is not applicable
to the back office form and the other place actually blocks it...

Overview

Move call to CRM_Contribute_BAO_Contribution_Utils::createCMSUser out of the shared function back to the one (out of 3 ) functions that call processFormContribution such that the CMSUser could be created

Before

The function is called from the back office contribution form (from which creating a CMS user is not relevant) and from 2 places in the confirm form - one of these specifically sets a parameter to stop it from being set - leaving just one place it can be set from - yet the call is in the shared function

After

call moved back to the function that actually requires it

Technical Details

Comments

This function is called from 3 places - create CMS user is not applicable
to the back office form and the other place actually blocks it...
@civibot
Copy link

civibot bot commented Dec 16, 2020

(Standard links)

@civibot civibot bot added the master label Dec 16, 2020
@seamuslee001
Copy link
Contributor

This looks good to me

@seamuslee001 seamuslee001 merged commit d021cd0 into civicrm:master Dec 16, 2020
@seamuslee001 seamuslee001 deleted the cms branch December 16, 2020 21:42
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.

2 participants