You are here

function simpleads_campaigns_uninstall in SimpleAds 7.2

Same name and namespace in other branches
  1. 7 modules/simpleads_campaigns/simpleads_campaigns.install \simpleads_campaigns_uninstall()

Implements hook_uninstall().

File

modules/simpleads_campaigns/simpleads_campaigns.install, line 359
SimpleAds Campaigns module install.

Code

function simpleads_campaigns_uninstall() {
  field_delete_field('field_adcamp_list');
  field_delete_field('field_adcamp_type');
  field_delete_field('field_adcamp_impressions');
  field_delete_field('field_adcamp_clicks');
  field_delete_field('field_adcamp_date');
  node_types_rebuild();
  variable_del('menu_options_simpleads_campaigns');
  variable_del('node_options_simpleads_campaigns');
  variable_del('comment_simpleads_campaigns');
}