You are here

function smileys_uninstall in Smileys 6

Same name and namespace in other branches
  1. 5 smileys.install \smileys_uninstall()

Implementation of hook_uninstall().

File

./smileys.install, line 123

Code

function smileys_uninstall() {

  // Remove variables.
  variable_del('smileys_enable_for_comments');
  variable_del('smileys_enable_for_nodes');
  variable_del('smileys_node_types_content');
  variable_del('smileys_select_box_expanded');
  variable_del('smileys_enable_dialog');
  variable_del('smileys_dialog_titles');
  variable_del('smileys_dialog_draggable');
  variable_del('smileys_dialog_resizable');
  variable_del('smileys_dialog_height');
  variable_del('smileys_dialog_width');

  // Remove tables.
  drupal_uninstall_schema('smileys');
}