You are here

function pmperson_disable in Drupal PM (Project Management) 8

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

Implements hook_disable().

File

pmperson/pmperson.install, line 21
Installation and update functions for PM Person module.

Code

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

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