You are here

function pmtimetracking_disable in Drupal PM (Project Management) 7

Same name and namespace in other branches
  1. 8 pmtimetracking/pmtimetracking.install \pmtimetracking_disable()
  2. 7.3 pmtimetracking/pmtimetracking.install \pmtimetracking_disable()

Implements hook_disable().

File

pmtimetracking/pmtimetracking.install, line 107
Install functions for PM Timetracking.

Code

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