You are here

function pmproject_update_7105 in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmproject/pmproject.install \pmproject_update_7105()
  2. 7.2 pmproject/pmproject.install \pmproject_update_7105()

Migrate PM Project nodes to field_api fields.

File

pmproject/pmproject.install, line 109
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);
  }
}