You are here

function radioactivity_node_uninstall in Radioactivity 5

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

File

plugins/radioactivity_node.install, line 37

Code

function radioactivity_node_uninstall() {
  db_query("DROP TABLE {radioactivity_node_clicks}");
  variable_del('radioactivity_node_click_duration');
  if (db_table_exists('radioactivity')) {
    db_query("DELETE FROM {radioactivity} WHERE class='node'");
  }
}