function pmtimetracking_disable in Drupal PM (Project Management) 8
Same name and namespace in other branches
- 7.3 pmtimetracking/pmtimetracking.install \pmtimetracking_disable()
- 7 pmtimetracking/pmtimetracking.install \pmtimetracking_disable()
Implements hook_disable().
File
- pmtimetracking/
pmtimetracking.install, line 28 - Install functions for PM Timetracking.
Code
function pmtimetracking_disable() {
module_load_include('inc', 'pm', 'includes/pm.install');
$module = 'pmtimetracking';
// Set standardised message.
pm_disable_message($module, 'timetrackings');
}