function pmnote_uninstall in Drupal PM (Project Management) 7.3
Same name and namespace in other branches
- 8 pmnote/pmnote.install \pmnote_uninstall()
- 7 pmnote/pmnote.install \pmnote_uninstall()
- 7.2 pmnote/pmnote.install \pmnote_uninstall()
Implements hook_uninstall().
File
- pmnote/
pmnote.install, line 39 - Functions for the PM Note module.
Code
function pmnote_uninstall() {
module_load_include('inc', 'pm', 'includes/pm.install');
$module = 'pmnote';
// Delete items created by his module.
pm_uninstall_variables($module);
pm_uninstall_fields($module);
// Set standardised message.
pm_uninstall_message($module, 'notes');
}