You are here

function notify_uninstall in Notify 7

Same name and namespace in other branches
  1. 6 notify.install \notify_uninstall()

Implements hook_uninstall().

File

./notify.install, line 151
Install, update and uninstall functions for the notify module.

Code

function notify_uninstall() {

  // Delete my variables.
  global $conf;
  db_delete('variable')
    ->condition('name', 'notify_%', 'LIKE')
    ->execute();
  cache_clear_all('variables', 'cache');
  unset($conf);
}