source/Application/Model/User.php
private function deleteNotOrderRelatedRemarks(DatabaseInterface $database)
    {
        $ids = $database->getCol('SELECT oxid FROM oxremark WHERE oxparentid = ? and oxtype !=\'o\'', [$this->getId()]);
        array_walk($ids, [$this, 'deleteItemById'], \OxidEsales\Eshop\Application\Model\Remark::class);
    }
private function deleteNotOrderRelatedRemarks(DatabaseInterface $database)
    {
        $ids = $database->getCol('SELECT oxid FROM oxremark WHERE oxparentid = ? and oxtype !=\'o\'', [$this->getId()]);
        array_walk($ids, [$this, 'deleteItemById'], \OxidEsales\Eshop\Application\Model\Remark::class);
    }
private function deleteNotOrderRelatedRemarks ( DatabaseInterface $ database ) { $ ids = $ database -> getCol ( 'SELECT oxid FROM oxremark WHERE oxparentid = ? and oxtype !=\'o\'' , [ $ this -> getId ( ) ] ) ; array_walk ( $ ids , [ $ this , 'deleteItemById' ] , \ OxidEsales \ Eshop \ Application \ Model \ Remark :: class ) ; }
Deletes not Order related remarks.

@param DatabaseInterface $database
Deletes not Order related remarks .