You are here

function views_rss_itunes_uninstall in Views RSS: iTunes Elements 7

Same name and namespace in other branches
  1. 8 views_rss_itunes.install \views_rss_itunes_uninstall()
  2. 6 views_rss_itunes.install \views_rss_itunes_uninstall()

Implements hook_uninstall().

File

./views_rss_itunes.install, line 202
(Un)installation functions for Views RSS: iTunes Elements module.

Code

function views_rss_itunes_uninstall() {
  if (db_table_exists('cache_views')) {
    cache_clear_all('views_rss:', 'cache_views', TRUE);
  }
  variable_del('views_rss_itunes_category_vid');
  drupal_set_message(t('Please note that taxonomy vocabulary "iTunes Category" has not been deleted, as it could still be used by site\'s content. If you don\'t need it anymore, please <a href="!taxonomy_url">delete it manually</a>.', array(
    '!taxonomy_url' => url('admin/structure/taxonomy/views_rss_itunes_category/edit'),
  )));
}