function pmteam_disable in Drupal PM (Project Management) 7
Same name and namespace in other branches
- 8 pmteam/pmteam.install \pmteam_disable()
- 7.3 pmteam/pmteam.install \pmteam_disable()
- 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');
}