You are here

function sf_notifications_uninstall in Salesforce Suite 7.2

Implements hook_uninstall().

File

sf_notifications/sf_notifications.install, line 52

Code

function sf_notifications_uninstall() {

  // Delete our queues.
  $queue = DrupalQueue::get('sf_notifications_queue');
  $queue
    ->deleteQueue();

  // Delete our variables.
  db_delete('variable')
    ->condition('name', 'sf_notifications_%', 'LIKE')
    ->execute();
}