You are here

function smartmenus_uninstall in Smartmenus.js 7

Implements hook_uninstall().

File

./smartmenus.install, line 10
Requirements, install, uninstall, and update hooks for the Smartmenus module.

Code

function smartmenus_uninstall() {
  foreach (range(1, variable_get('smartmenus_block_count', 1)) as $delta) {
    variable_del('smartmenus_menu_' . $delta);
    variable_del('smartmenus_orient_' . $delta);
    variable_del('smartmenus_toggle_' . $delta);
  }
  variable_del('smartmenus_block_count');
  variable_del('smartmenus_theme');
}