You are here

function shoutbox_uninstall in Shoutbox 6

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

Uninstall shoutbox.

File

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

Code

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

  // Delete variables.
  variable_del('shoutbox_expire');
  variable_del('shoutbox_showamount');
  variable_del('shoutbox_ascending');
  variable_del('shoutbox_defaultname');
  variable_del('shoutbox_shownamefield');
  variable_del('shoutbox_showurlfield');
  variable_del('shoutbox_refresh');
  variable_del('shoutbox_anonymous_timeout');
  variable_del('shoutbox_registered_timeout');
  variable_del('shoutbox_filter_format');
}