Model/DbGateways/OrderPaymentCommentDbGateway.php
public function delete($commentId)
    {
        $db = $this->getDb();
        $db->startTransaction();

        $deleteResult = $db->execute('DELETE FROM `oepaypal_orderpaymentcomments` WHERE `oepaypal_commentid` = ' . $db->quote($commentId));

        $result = ($deleteResult !== false);

        if ($result) {
            $db->commitTransaction();
        } else {
            $db->rollbackTransaction();
        }

        return $result;
    }
public function delete($commentId)
    {
        $db = $this->getDb();
        $db->startTransaction();

        $deleteResult = $db->execute('DELETE FROM `oepaypal_orderpaymentcomments` WHERE `oepaypal_commentid` = ' . $db->quote($commentId));

        $result = ($deleteResult !== false);

        if ($result) {
            $db->commitTransaction();
        } else {
            $db->rollbackTransaction();
        }

        return $result;
    }
public function delete ( $ commentId ) { $ db = $ this -> getDb ( ) ; $ db -> startTransaction ( ) ; $ deleteResult = $ db -> execute ( 'DELETE FROM `oepaypal_orderpaymentcomments` WHERE `oepaypal_commentid` = ' . $ db -> quote ( $ commentId ) ) ; $ result = ( $ deleteResult !== false ) ; if ( $ result ) { $ db -> commitTransaction ( ) ; } else { $ db -> rollbackTransaction ( ) ; } return $ result ; }
Delete PayPal order payment comment data from database.

@param string $commentId Order id.

@return bool
Delete PayPal order payment comment data from database .