function pmproject_update_7105 in Drupal PM (Project Management) 7.2
Same name and namespace in other branches
- 8 pmproject/pmproject.install \pmproject_update_7105()
- 7.3 pmproject/pmproject.install \pmproject_update_7105()
Migrate PM Project nodes to field_api fields.
File
- pmproject/
pmproject.install, line 69 - Installation functions for the Project Management project module.
Code
function pmproject_update_7105(&$sandbox) {
if (!module_exists('pmpermission')) {
module_enable(array(
'pmpermission',
));
}
module_load_include('inc', 'pmproject', 'includes/pmproject.migrate');
if (pmproject_migrate_update_could_be_performed()) {
return pmproject_migrate($sandbox);
}
}