You are here

function pmtimetracking_migrate_update_could_be_performed in Drupal PM (Project Management) 7.2

Same name and namespace in other branches
  1. 8 pmtimetracking/includes/pmtimetracking.migrate.inc \pmtimetracking_migrate_update_could_be_performed()
  2. 7.3 pmtimetracking/includes/pmtimetracking.migrate.inc \pmtimetracking_migrate_update_could_be_performed()

Check if migration need to be performed.

1 call to pmtimetracking_migrate_update_could_be_performed()
pmtimetracking_update_7106 in pmtimetracking/pmtimetracking.install
Migrate PM Timetracking nodes to field_api fields.

File

pmtimetracking/includes/pmtimetracking.migrate.inc, line 41
Migration functions for the PM Timetracking module.

Code

function pmtimetracking_migrate_update_could_be_performed() {
  if (db_table_exists('pmtimetracking')) {
    return TRUE;
  }
  return FALSE;
}