You are here

function workbench_email_uninstall in Workbench Email 7.3

Implements hook_uninstall().

File

./workbench_email.install, line 130
Install file for the Workbench Email module.

Code

function workbench_email_uninstall() {
  variable_del('workbench_email_queue_mail');
  drupal_load('module', 'workbench_email');
  workbench_email_get_queue()
    ->deleteQueue();
}