You are here

function pmticket_disable in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 pmticket/pmticket.install \pmticket_disable()
  2. 7 pmticket/pmticket.install \pmticket_disable()
  3. 7.2 pmticket/pmticket.install \pmticket_disable()

Implements hook_disable().

File

pmticket/pmticket.install, line 30
Installation functions for the Project Management project module.

Code

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

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