You are here

function pmexpense_migrate_update_could_be_performed in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 pmexpense/includes/pmexpense.migrate.inc \pmexpense_migrate_update_could_be_performed()
  2. 7.2 pmexpense/includes/pmexpense.migrate.inc \pmexpense_migrate_update_could_be_performed()

Check if migration need to be performed.

1 call to pmexpense_migrate_update_could_be_performed()
pmexpense_update_7200 in pmexpense/pmexpense.install
Migrate PM Expense nodes to field_api fields.

File

pmexpense/includes/pmexpense.migrate.inc, line 42
Migration functions for the PM Expense module.

Code

function pmexpense_migrate_update_could_be_performed() {
  if (db_table_exists('pmexpense')) {
    return TRUE;
  }
  return FALSE;
}