You are here

function smiley_uninstall in Smiley 6

Same name and namespace in other branches
  1. 7 smiley.install \smiley_uninstall()

Implementation of hook_uninstall().

File

./smiley.install, line 123

Code

function smiley_uninstall() {

  // Remove variables.
  variable_del('smiley_enable_for_comments');
  variable_del('smiley_enable_for_nodes');
  variable_del('smiley_node_types_content');
  variable_del('smiley_select_box_expanded');
  variable_del('smiley_enable_dialog');
  variable_del('smiley_dialog_titles');
  variable_del('smiley_dialog_draggable');
  variable_del('smiley_dialog_resizable');
  variable_del('smiley_dialog_height');
  variable_del('smiley_dialog_width');

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