function uc_recurring_fee_user_delete in UC Recurring Payments and Subscriptions 7.2
Same name and namespace in other branches
- 6.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_uc_order in ./
uc_recurring.module - Implements hook_uc_order().
File
- ./
uc_recurring.module, line 797 - 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_delete('uc_recurring_users')
->condition('rfid', $rfid)
->execute();
}