You are here

function shorten_uninstall in Shorten URLs 6

Same name and namespace in other branches
  1. 7.2 shorten.install \shorten_uninstall()
  2. 7 shorten.install \shorten_uninstall()

Implementation of hook_uninstall().

File

./shorten.install, line 27
(Un)installs the Shorten module.

Code

function shorten_uninstall() {
  drupal_uninstall_schema('shorten');

  // The adjix and adjix_custom variables aren't used any more but they should
  // still be deleted from installations that previously used them.
  variable_del('shorten_ez');
  variable_del('shorten_www');
  variable_del('shorten_adjix');
  variable_del('shorten_cligs');
  variable_del('shorten_budurl');
  variable_del('shorten_fwd4me');
  variable_del('shorten_method');
  variable_del('shorten_redirec');
  variable_del('shorten_service');
  variable_del('shorten_timeout');
  variable_del('shorten_bitly_key');
  variable_del('shorten_use_alias');
  variable_del('shorten_bitly_login');
  variable_del('shorten_adjix_custom');
  variable_del('shorten_show_service');
  variable_del('shorten_cache_duration');
  variable_del('shorten_generate_token');
  variable_del('shorten_service_backup');
  variable_del('shorten_invisible_services');
  variable_del('shorten_cache_fail_duration');
}