You are here

function pmticket_migrate_update_could_be_performed in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmticket/includes/pmticket.migrate.inc \pmticket_migrate_update_could_be_performed()
  2. 7.2 pmticket/includes/pmticket.migrate.inc \pmticket_migrate_update_could_be_performed()

Check if migration need to be performed.

1 call to pmticket_migrate_update_could_be_performed()
pmticket_update_7105 in pmticket/pmticket.install
Migrate PM Ticket nodes to field_api fields.

File

pmticket/includes/pmticket.migrate.inc, line 43
Migration functions for the PM Ticket module.

Code

function pmticket_migrate_update_could_be_performed() {
  if (db_table_exists('pmticket')) {
    return TRUE;
  }
  return FALSE;
}