function pmorganization_disable in Drupal PM (Project Management) 7
Same name and namespace in other branches
- 8 pmorganization/pmorganization.install \pmorganization_disable()
- 7.3 pmorganization/pmorganization.install \pmorganization_disable()
- 7.2 pmorganization/pmorganization.install \pmorganization_disable()
Implement hook_disable().
File
- pmorganization/
pmorganization.install, line 305
Code
function pmorganization_disable() {
node_access_needs_rebuild(TRUE);
drupal_set_message(t('Nodes of type "Organization" have not been deleted on disabling Project Management Organization. Please note that they will now have reduced functionality, and will not be protected by Project Management Organization access controls.'), 'warning');
}