You are here

function sendinblue_uninstall in SendinBlue 7

Same name and namespace in other branches
  1. 8.2 sendinblue.install \sendinblue_uninstall()
  2. 8 sendinblue.install \sendinblue_uninstall()
  3. 7.2 sendinblue.install \sendinblue_uninstall()

Implements hook_uninstall().

File

./sendinblue.install, line 113
Install, update and uninstall functions for the sendinblue module.

Code

function sendinblue_uninstall() {
  variable_del('sendinblue_access_key');
  variable_del('sendinblue_account_email');
  variable_del('sendinblue_account_username');
  variable_del('sendinblue_account_data');
  variable_del('sendinblue_access_token');
  variable_del('sendinblue_attribute_lists');
  variable_del('sendinblue_smtp_details');
  variable_del('sendinblue_on');
  variable_del('sendinblue_debug');
  $queue = DrupalQueue::get('sendinblue');
  $queue
    ->deleteQueue();
  $queue = DrupalQueue::get('sendinblue_batch');
  $queue
    ->deleteQueue();
}