You are here

function twitter_uninstall in Twitter 7.3

Same name and namespace in other branches
  1. 6.5 twitter.install \twitter_uninstall()
  2. 6.2 twitter.install \twitter_uninstall()
  3. 6.3 twitter.install \twitter_uninstall()
  4. 6.4 twitter.install \twitter_uninstall()
  5. 7.6 twitter.install \twitter_uninstall()
  6. 7.4 twitter.install \twitter_uninstall()
  7. 7.5 twitter.install \twitter_uninstall()

Implements hook_uninstall().

File

./twitter.install, line 303
Install, update and uninstall functions for the twitter module.

Code

function twitter_uninstall() {

  // Remove variables
  variable_del('twitter_import');
  variable_del('twitter_expire');
  variable_del('twitter_consumer_key');
  variable_del('twitter_consumer_secret');
  variable_del('twitter_post_types');
  variable_del('twitter_host');
  variable_del('twitter_post_default_format');
  variable_del('twitter_signin_button');
  variable_del('twitter_signin_register');
  variable_del('twitter_host');
  variable_del('twitter_api');
  variable_del('twitter_search');
  variable_del('twitter_tinyurl');
}