You are here

function pmteam_disable in Drupal PM (Project Management) 7

Same name and namespace in other branches
  1. 8 pmteam/pmteam.install \pmteam_disable()
  2. 7.3 pmteam/pmteam.install \pmteam_disable()
  3. 7.2 pmteam/pmteam.install \pmteam_disable()

Implements hook_disable().

File

pmteam/pmteam.install, line 32
Install, uninstall and update functions for Project Management Team

Code

function pmteam_disable() {
  node_access_needs_rebuild(TRUE);
  drupal_set_message(t('Nodes of type "Team" have not been deleted on disabling Project Management Team. Please note that they will now have reduced functionality, and will not be protected by Project Management Team access controls.'), 'warning');
}