You are here

function pmorganization_disable in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmorganization/pmorganization.install \pmorganization_disable()
  2. 7 pmorganization/pmorganization.install \pmorganization_disable()
  3. 7.2 pmorganization/pmorganization.install \pmorganization_disable()

Implements hook_disable().

File

pmorganization/pmorganization.install, line 73
PM Organization install file.

Code

function pmorganization_disable() {
  module_load_include('inc', 'pm', 'includes/pm.install');
  $module = 'pmorganization';

  // Set standardised message.
  pm_disable_message($module, 'organizations');
}