You are here

function admin_menu_uninstall in Administration menu 5.3

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

Implementation of hook_uninstall().

File

./admin_menu.install, line 39

Code

function admin_menu_uninstall() {

  // Remove cache table.
  db_query("DROP TABLE {cache_admin_menu}");

  // Delete variables.
  variable_del('admin_menu_devel_modules_enabled');
  variable_del('admin_menu_margin_top');
  variable_del('admin_menu_position_fixed');
  variable_del('admin_menu_tweak_menu');
  variable_del('admin_menu_tweak_modules');
  variable_del('admin_menu_tweak_tabs');
}