You are here

function pmexpense_update_7200 in Drupal PM (Project Management) 7.2

Same name and namespace in other branches
  1. 8 pmexpense/pmexpense.install \pmexpense_update_7200()
  2. 7.3 pmexpense/pmexpense.install \pmexpense_update_7200()

Migrate PM Expense nodes to field_api fields.

File

pmexpense/pmexpense.install, line 60
Installation file for pmexpense module.

Code

function pmexpense_update_7200(&$sandbox) {
  module_load_include('inc', 'pmexpense', 'includes/pmexpense.migrate');
  if (pmexpense_migrate_update_could_be_performed()) {
    return pmexpense_migrate($sandbox);
  }
}