[REF] Remove transaction.
authoreileen <emcnaughton@wikimedia.org>
Wed, 9 Oct 2019 08:28:48 +0000 (10:28 +0200)
committereileen <emcnaughton@wikimedia.org>
Wed, 9 Oct 2019 08:28:48 +0000 (10:28 +0200)
commit7930ccd6116cadf48e1e5e7022283ec1037635ef
tree619d234bf81de3b9eeb7f327c20b8151208728e5
parent3662f7a6058d40c40c4825cb0362f8404ba195ce
[REF] Remove transaction.

@mattwire proposed moving this in
https://github.com/civicrm/civicrm-core/pull/15446/commits/8f76cfacf156cfbd11e280b9a86926e0a5082c27

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
CRM/Event/Form/Participant.php