You are here

function pmproject_migrate_update_could_be_performed in Drupal PM (Project Management) 8

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

Check if migration needs to be performed.

1 call to pmproject_migrate_update_could_be_performed()
pmproject_update_7105 in pmproject/pmproject.install
Migrate PM Project nodes to field_api fields.

File

pmproject/includes/pmproject.migrate.inc, line 43
Migration functions for the PM Project module.

Code

function pmproject_migrate_update_could_be_performed() {
  if (db_table_exists('pmproject')) {
    return TRUE;
  }
  return FALSE;
}