You are here

function shoutbox_uninstall in Shoutbox 6.2

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

Uninstall shoutbox.

File

./shoutbox.install, line 42
Shoutbox module install file.

Code

function shoutbox_uninstall() {
  drupal_uninstall_schema('shoutbox');

  // 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');
}