function pmnote_disable in Drupal PM (Project Management) 7
Same name and namespace in other branches
- 8 pmnote/pmnote.install \pmnote_disable()
- 7.3 pmnote/pmnote.install \pmnote_disable()
Implements hook_disable().
File
- pmnote/
pmnote.install, line 32 - Functions for the PM Note module.
Code
function pmnote_disable() {
node_access_needs_rebuild(TRUE);
drupal_set_message(t('Nodes of type "Note" have not been deleted on disabling Project Management Note. Please note that they will now have reduced functionality, and will not be protected by Project Management Note access controls.'), 'warning');
}