You are here

function sf_queue_uninstall in Salesforce Suite 7.2

Same name and namespace in other branches
  1. 6.2 sf_queue/sf_queue.install \sf_queue_uninstall()

Implements hook_uninstall().

File

sf_queue/sf_queue.install, line 20
Install file for the Salesforce Export Queue module.

Code

function sf_queue_uninstall() {

  // TODO The drupal_(un)install_schema functions are called automatically in D7.
  // drupal_uninstall_schema('sf_queue')
  // TODO Please review the conversion of this statement to the D7 database API syntax.

  /* db_query("DELETE FROM {variable} WHERE {name} LIKE 'sf_queue_%'") */
  db_delete('variable')
    ->condition('{name}', 'sf_queue_%', 'LIKE')
    ->execute();
}