source/Application/Model/RecommendationList.php
public function removeArticle($sOXID)
    {
        if ($sOXID) {
            $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
            $sQ = "delete from oxobject2list where oxobjectid = " . $oDb->quote($sOXID) . " and oxlistid=" . $oDb->quote($this->getId());

            return $oDb->execute($sQ);
        }
    }
public function removeArticle($sOXID)
    {
        if ($sOXID) {
            $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
            $sQ = "delete from oxobject2list where oxobjectid = " . $oDb->quote($sOXID) . " and oxlistid=" . $oDb->quote($this->getId());

            return $oDb->execute($sQ);
        }
    }
public function removeArticle ( $ sOXID ) { if ( $ sOXID ) { $ oDb = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ sQ = "delete from oxobject2list where oxobjectid = " . $ oDb -> quote ( $ sOXID ) . " and oxlistid=" . $ oDb -> quote ( $ this -> getId ( ) ) ; return $ oDb -> execute ( $ sQ ) ; } }
Remove article from recommendation list

@param string $sOXID Object ID

@return bool
Remove article from recommendation list