public static function Transaction::rollback in Transaction 6
Same name and namespace in other branches
- 5 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 65 - 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 static function rollback() {
self::$AllowCommit = FALSE;
}