function pmteam_uninstall in Drupal PM (Project Management) 7.3
Same name and namespace in other branches
- 8 pmteam/pmteam.install \pmteam_uninstall()
- 7 pmteam/pmteam.install \pmteam_uninstall()
- 7.2 pmteam/pmteam.install \pmteam_uninstall()
Implements hook_uninstall().
File
- pmteam/
pmteam.install, line 35 - Install, uninstall and update functions for the PM Team module.
Code
function pmteam_uninstall() {
module_load_include('inc', 'pm', 'includes/pm.install');
$module = 'pmteam';
// Delete items created by his module.
pm_uninstall_variables($module);
pm_uninstall_fields($module);
// Set standardised message.
pm_uninstall_message($module, 'teams');
}