You are here

function pmperson_disable in Drupal PM (Project Management) 7

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

Implements hook_disable().

File

pmperson/pmperson.install, line 31

Code

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