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 Dec 30, 2019
1 parent 9308a4e commit 1f22cff
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 1f22cff

Please sign in to comment.