function uc_recurring_product_uninstall in UC Recurring Payments and Subscriptions 7.2
Same name and namespace in other branches
- 6.2 modules/uc_recurring_product/uc_recurring_product.install \uc_recurring_product_uninstall()
Implements hook_uninstall().
File
- modules/
uc_recurring_product/ uc_recurring_product.install, line 68 - Installs the Recurring Products module.
Code
function uc_recurring_product_uninstall() {
$result = db_query("SELECT name FROM {variable} WHERE name LIKE 'uc_recurring_product_%'");
foreach ($result as $row) {
variable_del($row->name);
}
}