devel_node_access.install 343 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * @file
  4. * Uninstall function for Devel node access.
  5. */
  6. /**
  7. * Implements hook_uninstall().
  8. */
  9. function devel_node_access_uninstall() {
  10. variable_del('devel_node_access_debug_mode');
  11. if (!module_exists('devel') && ($devel_menu = menu_load('devel'))) {
  12. // Delete the development menu.
  13. menu_delete($devel_menu);
  14. }
  15. }