You are here

function disqus_uninstall in Disqus 7

Same name and namespace in other branches
  1. 6 disqus.install \disqus_uninstall()

Implements hook_uninstall().

File

./disqus.install, line 44
Provides any required installation or upgrade path requirements.

Code

function disqus_uninstall() {
  $variables = array(
    'disqus_combination_widget_colortheme',
    'disqus_combination_widget_defaulttabview',
    'disqus_combination_widget_excerpt_length',
    'disqus_combination_widget_hide_mods',
    'disqus_combination_widget_items',
    'disqus_developer',
    'disqus_domain',
    'disqus_inherit_login',
    'disqus_localization',
    'disqus_location',
    'disqus_logo',
    'disqus_nodetypes',
    'disqus_nodetypes_default',
    'disqus_popular_threads_items',
    'disqus_publickey',
    'disqus_recent_comments_avatarsize',
    'disqus_recent_comments_excerpt_length',
    'disqus_recent_comments_items',
    'disqus_recent_comments_showavatars',
    'disqus_secretkey',
    'disqus_sso',
    'disqus_top_commenters_avatarsize',
    'disqus_top_commenters_hide_mods',
    'disqus_top_commenters_items',
    'disqus_top_commenters_showavatars',
    'disqus_track_newcomment_ga',
    'disqus_use_site_logo',
    'disqus_weight',
  );
  foreach ($variables as $variable) {
    variable_del($variable);
  }
}