diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-07-27 18:24:49 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-07-27 18:24:49 +0000 |
commit | 2e36bdcb7d22394f8f0c92d7b24badc4661721ef (patch) | |
tree | 41ef6cc12841da90220969f4631b1e38938c6e15 | |
parent | bf501fdae5b1f708dea6ca12f73c77ca84568294 (diff) | |
download | brdo-2e36bdcb7d22394f8f0c92d7b24badc4661721ef.tar.gz brdo-2e36bdcb7d22394f8f0c92d7b24badc4661721ef.tar.bz2 |
- Patch #517502 by andrea.gariboldi: make Transaction API follow its own documentation.
-rw-r--r-- | includes/database/database.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |