You are here

function tableofcontents_uninstall in Table of Contents 6.3

Same name and namespace in other branches
  1. 7.2 tableofcontents.install \tableofcontents_uninstall()
  2. 7 tableofcontents.install \tableofcontents_uninstall()

Implementation of hook_uninstall()

File

./tableofcontents.install, line 44
tableofcontents.install

Code

function tableofcontents_uninstall() {
  drupal_uninstall_schema('tableofcontents');
  db_query("DELETE FROM {variable} WHERE name LIKE 'tableofcontents_%'");
}