Skip to content

Commit

Permalink
Update Yii2.php (#3973)
Browse files Browse the repository at this point in the history
Fixed #3961
  • Loading branch information
Oleg authored and DavertMik committed Feb 3, 2017
1 parent 077fa8f commit 4f9d4c4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Codeception/Lib/Connector/Yii2.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ public function getApplication()

public function resetApplication()
{
if ($this->app->db !== null && $this->app->db->transaction !== null) {
$this->app->db->transaction->rollBack();
}
$this->app = null;
}

Expand Down

0 comments on commit 4f9d4c4

Please sign in to comment.