function uc_stock_uninstall in Ubercart 7.3
Same name and namespace in other branches
- 5 uc_stock/uc_stock.install \uc_stock_uninstall()
- 6.2 uc_stock/uc_stock.install \uc_stock_uninstall()
Implements hook_uninstall().
File
- uc_stock/
uc_stock.install, line 72 - Install, update and uninstall functions for the uc_stock module.
Code
function uc_stock_uninstall() {
db_delete('variable')
->condition('name', 'uc_stock_%', 'LIKE')
->execute();
variable_del('uc_stock_threshold_notification');
variable_del('uc_stock_threshold_notification_recipients');
variable_del('uc_stock_threshold_notification_subject');
variable_del('uc_stock_threshold_notification_message');
}