You are here

function advanced_help_uninstall in Advanced Help 7

Same name and namespace in other branches
  1. 5 advanced_help.install \advanced_help_uninstall()
  2. 6 advanced_help.install \advanced_help_uninstall()

Implements hook_uninstall().

File

./advanced_help.install, line 10
Contains install and update functions for advanced_help.

Code

function advanced_help_uninstall() {
  variable_del('advanced_help_last_cron');
  $sam = variable_get('search_active_modules', NULL);
  if (!empty($sam)) {
    unset($sam['advanced_help']);
    variable_set('search_active_modules', $sam);
  }
}