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] Remove transaction as part of minor code cleanup #15460

Merged
merged 1 commit into from
Oct 9, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Removes some lines of code that probably do nothing but would not do something positive

Before

Disco squirrels

After

Lights are on, music is off

Technical Details

@mattwire proposed moving this in
8f76cfa

However, I believe removing it is the correct action. The usefullness of transactions is to maintain integrity
by rolling back the creation of a bunch of related entities together if one fails.

However in this case it's not rolling back the contribution or participant record or non discount line items so
if it worked (which I doubt) it would reduce rather than increase db integrity

Comments

@mattwire proposed moving this in
civicrm@8f76cfa

However, I believe removing it is the correct action. The usefullness of transactions is to maintain integrity
by rolling back the creation of a bunch of related entities together if one fails.

However in this case it's not rolling back the contribution or participant record or non discount line items so
if it worked (which I doubt) it would reduce rather than increase db integrity
@civibot
Copy link

civibot bot commented Oct 9, 2019

(Standard links)

@civibot civibot bot added the master label Oct 9, 2019
@seamuslee001 seamuslee001 merged commit 3ec7df6 into civicrm:master Oct 9, 2019
@seamuslee001 seamuslee001 deleted the event_transact branch October 9, 2019 10:14
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