You are here

public function Transaction::rollback in Transaction 5

Same name and namespace in other branches
  1. 6 transaction.module \Transaction::rollback()

Force this transaction to roll back when finished.

1 call to Transaction::rollback()
Transaction::rollbackIfFalse in ./transaction.module
If the given value is FALSE (value AND type), roll back the current transaction.

File

./transaction.module, line 70
Provides a database transaction system for use with InnoDB tables in MySQL.

Class

Transaction
Provides a nestable transaction system for handling commits and rollbacks.

Code

public function rollback() {
  self::$AllowCommit = FALSE;
}