You are here

function radioactivity_node_uninstall in Radioactivity 6

Same name and namespace in other branches
  1. 5 plugins/radioactivity_node.install \radioactivity_node_uninstall()

File

plugins/radioactivity_node.install, line 75
Node radioactivity db schema and install hooks

Code

function radioactivity_node_uninstall() {
  drupal_uninstall_schema('radioactivity_node');
  variable_del('radioactivity_node_click_duration');
  variable_del('radioactivity_node_anon_hook_mode');
  if (db_table_exists('radioactivity')) {
    db_query("DELETE FROM {radioactivity} WHERE class='node'");
  }
}