You are here

function commerce_gc_transaction_delete_multiple in Commerce GC 7

Deletes giftcard transaction by ID.

Parameters

$transaction_ids: An array of product IDs to delete.

Return value

TRUE on success, FALSE otherwise.

1 call to commerce_gc_transaction_delete_multiple()
commerce_gc_transaction_delete in ./commerce_gc.module
Deletes a giftcard transaction by ID.

File

./commerce_gc.module, line 737
Provides Giftcard coupon bundle, Giftcard Transaction entity and basic user interface elements.

Code

function commerce_gc_transaction_delete_multiple($transaction_ids) {
  return entity_get_controller('commerce_gc_transaction')
    ->delete($transaction_ids);
}