function pmorganization_uninstall in Drupal PM (Project Management) 7.3
Same name and namespace in other branches
- 8 pmorganization/pmorganization.install \pmorganization_uninstall()
- 7 pmorganization/pmorganization.install \pmorganization_uninstall()
- 7.2 pmorganization/pmorganization.install \pmorganization_uninstall()
Implements hook_uninstall().
File
- pmorganization/
pmorganization.install, line 84 - PM Organization install file.
Code
function pmorganization_uninstall() {
module_load_include('inc', 'pm', 'includes/pm.install');
$module = 'pmorganization';
// Delete items created by his module.
pm_uninstall_variables($module);
pm_uninstall_fields($module);
// Set standardised message.
pm_uninstall_message($module, 'organizations');
}