You are here

function dynamic_banner_uninstall in Dynamic Banner 6

Same name and namespace in other branches
  1. 8 dynamic_banner.install \dynamic_banner_uninstall()
  2. 7.2 dynamic_banner.install \dynamic_banner_uninstall()
  3. 7 dynamic_banner.install \dynamic_banner_uninstall()
  4. 8.x dynamic_banner.install \dynamic_banner_uninstall()

Implements hook_uninstall().

File

./dynamic_banner.install, line 88
The install file of dynamic_banner

Code

function dynamic_banner_uninstall() {
  drupal_uninstall_schema('dynamic_banner');

  // default settings remove
  variable_del('dynamic_banner_display_setting');
  variable_del('dynamic_banner_display_errors');
  drupal_set_message(st('Dynamic Banner Module uninstalled successfully.'), 'warning');
}