source/Application/Model/Actions.php
public function removeArticle($articleId)
    {
        // remove actions from articles also
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sDelete = "delete from oxactions2article where oxactionid = " . $oDb->quote($this->getId()) . " and oxartid = " . $oDb->quote($articleId) . " and oxshopid = '" . $this->getShopId() . "'";
        $iRemovedArticles = $oDb->execute($sDelete);

        return (bool) $iRemovedArticles;
    }
public function removeArticle($articleId)
    {
        // remove actions from articles also
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sDelete = "delete from oxactions2article where oxactionid = " . $oDb->quote($this->getId()) . " and oxartid = " . $oDb->quote($articleId) . " and oxshopid = '" . $this->getShopId() . "'";
        $iRemovedArticles = $oDb->execute($sDelete);

        return (bool) $iRemovedArticles;
    }
public function removeArticle ( $ articleId ) { // remove actions from articles also $ oDb = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ sDelete = "delete from oxactions2article where oxactionid = " . $ oDb -> quote ( $ this -> getId ( ) ) . " and oxartid = " . $ oDb -> quote ( $ articleId ) . " and oxshopid = '" . $ this -> getShopId ( ) . "'" ; $ iRemovedArticles = $ oDb -> execute ( $ sDelete ) ; return ( bool ) $ iRemovedArticles ; }
Removes an article from this actions

@param string $articleId id of the article to be removed

@return bool
Removes an article from this actions