You are here

function sheetnode_uninstall in Sheetnode 6

Same name and namespace in other branches
  1. 5 sheetnode.install \sheetnode_uninstall()

Implementation of hook_uninstall().

File

./sheetnode.install, line 17

Code

function sheetnode_uninstall() {
  drupal_uninstall_schema('sheetnode');
  db_query("DELETE FROM {variable} WHERE name LIKE 'sheetnode_%'");
  if (module_exists('content')) {
    drupal_load('module', 'content');
    content_notify('uninstall', 'sheetnode');
  }
}