function queue_mail_uninstall in Queue Mail 7
Same name and namespace in other branches
- 8 queue_mail.install \queue_mail_uninstall()
- 6 queue_mail.install \queue_mail_uninstall()
Implements hook_uninstall().
File
- ./
queue_mail.install, line 18 - Install, update and uninstall functions for the Queue Mail module.
Code
function queue_mail_uninstall() {
drupal_load('module', 'queue_mail');
_queue_mail_get_queue()
->deleteQueue();
variable_del('queue_mail_keys');
variable_del('queue_mail_queue_time');
variable_del('queue_mail_send_on_cron');
}