Skip to content

Commit

Permalink
Revert "launch transactionCommitted before decreasinig the transactio…
Browse files Browse the repository at this point in the history
…ns level (#30883)"

This reverts commit 9343d72.
  • Loading branch information
driesvints committed Jan 7, 2020
1 parent d06cc79 commit a216d0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Database/Concerns/ManagesTransactions.php
Expand Up @@ -171,9 +171,9 @@ public function commit()
$this->getPdo()->commit();
}

$this->fireConnectionEvent('committed');

$this->transactions = max(0, $this->transactions - 1);

$this->fireConnectionEvent('committed');
}

/**
Expand Down

0 comments on commit a216d0f

Please sign in to comment.