You are here

function shoutbox_uninstall in Shoutbox 7.2

Same name and namespace in other branches
  1. 5 shoutbox.install \shoutbox_uninstall()
  2. 6.2 shoutbox.install \shoutbox_uninstall()
  3. 6 shoutbox.install \shoutbox_uninstall()
  4. 7 shoutbox.install \shoutbox_uninstall()

Uninstall shoutbox.

File

./shoutbox.install, line 91
Install, update and uninstall functions for the Shoutbox module.

Code

function shoutbox_uninstall() {

  // Delete variables.
  variable_del('shoutbox_expire');
  variable_del('shoutbox_ascending');
  variable_del('shoutbox_refresh');
  variable_del('shoutbox_anonymous_timeout');
  variable_del('shoutbox_registered_timeout');
  variable_del('shoutbox_filter_format');
  variable_del('shoutbox_max_length');
  variable_del('shoutbox_showamount_block');
  variable_del('shoutbox_showamount_page');
  variable_del('shoutbox_escape_html');
  variable_del('shoutbox_profile_name');
  variable_del('shoutbox_restrict_general_shouts');
  variable_del('shoutbox_time_format');
  variable_del('shoutbox_widget_type');
  variable_del('shoutbox_submit_type');
  variable_del('shoutbox_default_message');
}