1
0
mirror of synced 2025-02-09 08:49:26 +03:00

Fixed incorrect case of another two references of rollback

This commit is contained in:
David McKay 2015-11-30 16:53:31 +00:00
parent f8ba3a3434
commit 3c7d92e4cc
2 changed files with 3 additions and 3 deletions

View File

@ -238,7 +238,7 @@ use Doctrine\Common\Util\ClassUtils;
return $return ?: true;
} catch (Exception $e) {
$this->close();
$this->conn->rollback();
$this->conn->rollBack();
throw $e;
}
@ -257,7 +257,7 @@ use Doctrine\Common\Util\ClassUtils;
*/
public function rollback()
{
$this->conn->rollback();
$this->conn->rollBack();
}
/**

View File

@ -410,7 +410,7 @@ class UnitOfWork implements PropertyChangedListener
$conn->commit();
} catch (Exception $e) {
$this->em->close();
$conn->rollback();
$conn->rollBack();
$this->afterTransactionRolledBack();