You are here

function admin_menu_uninstall in Administration menu 7.3

Same name and namespace in other branches
  1. 8.3 admin_menu.install \admin_menu_uninstall()
  2. 5.3 admin_menu.install \admin_menu_uninstall()
  3. 5.2 admin_menu.install \admin_menu_uninstall()
  4. 6.3 admin_menu.install \admin_menu_uninstall()
  5. 6 admin_menu.install \admin_menu_uninstall()

Implements hook_uninstall().

File

./admin_menu.install, line 33
Install, update, and uninstall functions for the admin menu module.

Code

function admin_menu_uninstall() {

  // Delete variables.
  variable_del('admin_menu_components');
  variable_del('admin_menu_margin_top');
  variable_del('admin_menu_position_fixed');
  variable_del('admin_menu_tweak_modules');
  variable_del('admin_menu_tweak_tabs');
  variable_del('admin_menu_show_all');
  variable_del('admin_menu_display');
  variable_del('admin_menu_cache_server');
  variable_del('admin_menu_cache_client');

  // Unused variables still should be deleted.
  variable_del('admin_menu_devel_modules');
  variable_del('admin_menu_devel_modules_enabled');
  variable_del('admin_menu_devel_modules_skip');
  variable_del('admin_menu_exclude_paths');
}