You are here

function shorten_uninstall in Shorten URLs 7

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

Implements hook_uninstall().

File

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

Code

function shorten_uninstall() {

  // 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_googl');
  variable_del('shorten_budurl');
  variable_del('shorten_fwd4me');
  variable_del('shorten_method');
  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_service_backup');
  variable_del('shorten_cache_clear_all');
  variable_del('shorten_invisible_services');
  variable_del('shorten_cache_fail_duration');
}