You are here

function pmissue_uninstall in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmissue/pmissue.install \pmissue_uninstall()
  2. 7.2 pmissue/pmissue.install \pmissue_uninstall()

Implements hook_uninstall().

File

pmissue/pmissue.install, line 38
Install, disable, uninstall and update functions for PM Issue module.

Code

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

  // Delete items created by his module.
  pm_uninstall_variables($module);
  pm_uninstall_fields($module);

  // Set standardised message.
  pm_uninstall_message($module, 'issues');
}