function pmtask_update_7105 in Drupal PM (Project Management) 8
Same name and namespace in other branches
- 7.3 pmtask/pmtask.install \pmtask_update_7105()
- 7.2 pmtask/pmtask.install \pmtask_update_7105()
Migrate PM Project nodes to field_api fields.
File
- pmtask/
pmtask.install, line 62 - Install, disable, uninstall and update functions for pmtask module.
Code
function pmtask_update_7105(&$sandbox) {
if (!module_exists('pmpermission')) {
module_enable(array(
'pmpermission',
));
}
module_load_include('inc', 'pmtask', 'includes/pmtask.migrate');
if (pmtask_migrate_update_could_be_performed()) {
return pmtask_migrate($sandbox);
}
}