function uc_recurring_fee_user_delete in UC Recurring Payments and Subscriptions 6.2
Same name and namespace in other branches
- 7.2 uc_recurring.module \uc_recurring_fee_user_delete()
Delete a recurring fee from a user.
Parameters
$rfid: The ID of the recurring fee to be removed from the appropriate table.
1 call to uc_recurring_fee_user_delete()
- uc_recurring_order in ./
uc_recurring.module - Implementation of hook_order().
File
- ./
uc_recurring.module, line 822 - Allows you to add a recurring fee to a product/SKU to handle subscription type services.
Code
function uc_recurring_fee_user_delete($rfid) {
module_invoke_all('recurring_user_delete', $rfid);
db_query("DELETE FROM {uc_recurring_users} WHERE rfid = %d", $rfid);
}