From 2e36bdcb7d22394f8f0c92d7b24badc4661721ef Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 27 Jul 2009 18:24:49 +0000 Subject: - Patch #517502 by andrea.gariboldi: make Transaction API follow its own documentation. --- includes/database/database.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/database') diff --git a/includes/database/database.inc b/includes/database/database.inc index c18aec2f5..9da091231 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -891,7 +891,7 @@ abstract class DatabaseConnection extends PDO { } // Reset any scheduled rollback - $this->willRollBack = FALSE; + $this->willRollback = FALSE; } } @@ -912,7 +912,7 @@ abstract class DatabaseConnection extends PDO { --$this->transactionLayers; if ($this->transactionLayers == 0 && $this->supportsTransactions()) { - if ($this->willRollBack) { + if ($this->willRollback) { parent::rollBack(); } else { -- cgit v1.2.3