kernel/classes/ezvatrule.php
static function removeVatRule( $id )
    {
        $db = eZDB::instance();

        $db->begin();

        // Remove product categories associated with the rule.
        eZVatRule::removeProductCategories( $id );

        // Remove the rule itself.
        eZPersistentObject::removeObject( eZVatRule::definition(), array( "id" => $id ) );

        $db->commit();
    }
static function removeVatRule( $id )
    {
        $db = eZDB::instance();

        $db->begin();

        // Remove product categories associated with the rule.
        eZVatRule::removeProductCategories( $id );

        // Remove the rule itself.
        eZPersistentObject::removeObject( eZVatRule::definition(), array( "id" => $id ) );

        $db->commit();
    }
static function removeVatRule ( $ id ) { $ db = eZDB :: instance ( ) ; $ db -> begin ( ) ; // Remove product categories associated with the rule. eZVatRule :: removeProductCategories ( $ id ) ; // Remove the rule itself. eZPersistentObject :: removeObject ( eZVatRule :: definition ( ) , array ( "id" => $ id ) ) ; $ db -> commit ( ) ; }
Remove given VAT charging rule.
Remove given VAT charging rule .