You are here

function pminvoice_disable in Drupal PM (Project Management) 7

Implements hook_disable().

File

pminvoice/pminvoice.install, line 136
Installation functions for PM Invoice.

Code

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