You are here

public function Transaction::willRollback in Transaction 5

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

Will this transaction roll back instead of committing?

Return value

boolean TRUE if the transaction will roll back, FALSE if it will commit.

1 call to Transaction::willRollback()
pressflow_transaction::will_rollback in ./transaction.module

File

./transaction.module, line 82
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 willRollback() {
  return !self::$AllowCommit;
}