kernel/classes/ezvatrule.php
function removeProductCategories( $ruleID = false )
    {
        if ( $ruleID === false )
            $ruleID = $this->ID;
        $ruleID =(int) $ruleID;
        $db = eZDB::instance();
        $db->query( "DELETE FROM ezvatrule_product_category WHERE vatrule_id = $ruleID" );
    }
function removeProductCategories( $ruleID = false )
    {
        if ( $ruleID === false )
            $ruleID = $this->ID;
        $ruleID =(int) $ruleID;
        $db = eZDB::instance();
        $db->query( "DELETE FROM ezvatrule_product_category WHERE vatrule_id = $ruleID" );
    }
function removeProductCategories ( $ ruleID = false ) { if ( $ ruleID === false ) $ ruleID = $ this -> ID ; $ ruleID = ( int ) $ ruleID ; $ db = eZDB :: instance ( ) ; $ db -> query ( "DELETE FROM ezvatrule_product_category WHERE vatrule_id = $ruleID" ) ; }
Remove product categories with the rule from DB.

\private
\note Transaction unsafe. If you call several transaction unsafe methods you must enclose
the calls within a db transaction; thus within db->begin and db->commit.
Remove product categories with the rule from DB .