protected function closeTransaction($status)
    {
        if(null !== $this->con) {
            $this->traceDebugQuery();
            if (null !== $this->con && $this->con->inTransaction()) {
                if ($status === 200) {
                    $this->con->commit();
                } else {
                    $this->con->rollBack();
                }
            }
            Propel::closeConnections();
        }
    }
protected function closeTransaction($status)
    {
        if(null !== $this->con) {
            $this->traceDebugQuery();
            if (null !== $this->con && $this->con->inTransaction()) {
                if ($status === 200) {
                    $this->con->commit();
                } else {
                    $this->con->rollBack();
                }
            }
            Propel::closeConnections();
        }
    }
protected function closeTransaction ( $ status ) { if ( null !== $ this -> con ) { $ this -> traceDebugQuery ( ) ; if ( null !== $ this -> con && $ this -> con -> inTransaction ( ) ) { if ( $ status === 200 ) { $ this -> con -> commit ( ) ; } else { $ this -> con -> rollBack ( ) ; } } Propel :: closeConnections ( ) ; } }
Close transactions if are requireds

@param int $status
Close transactions if are requireds