You are here

function devel_node_access_uninstall in Devel 7

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

Implements hook_uninstall().

File

./devel_node_access.install, line 11
Uninstall function for Devel node access.

Code

function devel_node_access_uninstall() {
  variable_del('devel_node_access_debug_mode');
  if (!module_exists('devel') && ($devel_menu = menu_load('devel'))) {

    // Delete the development menu.
    menu_delete($devel_menu);
  }
}