You are here

function devel_uninstall in Devel 6

Same name and namespace in other branches
  1. 7 devel.install \devel_uninstall()

Implementation of hook_uninstall().

File

./devel.install, line 66
Install file for devel module.

Code

function devel_uninstall() {
  drupal_uninstall_schema('devel');
  variable_del('dev_query');
  variable_del('devel_old_smtp_library');
  variable_del('devel_form_weights');
  variable_del('devel_store_random');
  variable_del('devel_execution');
  variable_del('dev_timer');
  variable_del('devel_query_display');
  variable_del('devel_redirect_page');
  variable_del('devel_api_url');
  variable_del('dev_mem');
  variable_del('devel_error_handler');
  variable_del('devel_store_queries');
  variable_del('devel_switch_user_list_size');
  variable_del('devel_switch_user_show_form');
  db_query("DELETE FROM {menu_custom} WHERE menu_name = 'devel'");
  db_query("DELETE FROM {menu_links} WHERE module = 'devel'");
}