You are here

function uc_recurring_product_fee_product_delete in UC Recurring Payments and Subscriptions 6.2

Same name and namespace in other branches
  1. 7.2 modules/uc_recurring_product/uc_recurring_product.module \uc_recurring_product_fee_product_delete()

Deletes a recurring product.

Parameters

$pfid: The ID of the recurring fee to be removed from the appropriate table.

1 string reference to 'uc_recurring_product_fee_product_delete'
uc_recurring_product_feature in modules/uc_recurring_product/uc_recurring_product.module
Implementation of hook_product_feature().

File

modules/uc_recurring_product/uc_recurring_product.module, line 558
Add recurring payments/fees to a product. This is imlpemented through Ubercarts product features.

Code

function uc_recurring_product_fee_product_delete($pfid) {
  module_invoke_all('recurring_product_delete', $pfid);
  db_query("DELETE FROM {uc_recurring_product} WHERE pfid = %d", $pfid);
}