Horde_Db_Adapter_Pdo_Base::commitDbTransaction PHP Method

commitDbTransaction() public method

Commits the transaction (and turns on auto-committing).
public commitDbTransaction ( )
    public function commitDbTransaction()
    {
        $this->_transactionStarted--;
        if (!$this->_transactionStarted) {
            try {
                $this->_connection->commit();
            } catch (PDOException $e) {
                throw new Horde_Db_Exception($e);
            }
        }
    }