Skip to content

Commit

Permalink
Merge pull request #31051 from laravel/revert-30883-6.x
Browse files Browse the repository at this point in the history
[6.x] Revert "[6.x] TransactionCommitted event doesn’t contain transaction level I’d expect it to"
  • Loading branch information
driesvints committed Jan 7, 2020
2 parents d06cc79 + a216d0f commit 90e327f
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 90e327f

Please sign in to comment.