function dynamic_banner_uninstall in Dynamic Banner 7
Same name and namespace in other branches
- 8 dynamic_banner.install \dynamic_banner_uninstall()
- 6 dynamic_banner.install \dynamic_banner_uninstall()
- 7.2 dynamic_banner.install \dynamic_banner_uninstall()
- 8.x dynamic_banner.install \dynamic_banner_uninstall()
Implements hook_uninstall().
File
- ./
dynamic_banner.install, line 99 - The install file of dynamic_banner
Code
function dynamic_banner_uninstall() {
// The drupal_(un)install_schema functions are called automatically in D7.
// default settings remove
variable_del('dynamic_banner_display_setting');
variable_del('dynamic_banner_display_errors');
variable_del('dynamic_banner_file_save_path');
drupal_set_message(st('Dynamic Banner Module uninstalled successfully.'), 'warning');
}