You are here

function pmperson_migrate_update_could_be_performed in Drupal PM (Project Management) 8

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

Checks for conflicts that would affect the running of update.php.

4 calls to pmperson_migrate_update_could_be_performed()
pmperson_menu in pmperson/pmperson.module
Implements hook_menu().
pmperson_migrate_page_callback in pmperson/includes/pmperson.migrate.inc
Page callback for PM_PMPERSON_RESOLVE_DEPENDENCIES_LINK.
pmperson_requirements in pmperson/pmperson.install
Implements hook_requirements().
pmperson_update_7104 in pmperson/pmperson.install
Migrate PM Person nodes to fields on Drupal users.

File

pmperson/includes/pmperson.migrate.inc, line 107
Migration functions for the PM Person module.

Code

function pmperson_migrate_update_could_be_performed() {
  if (db_table_exists('pmperson')) {
    $counts = pmperson_migrate_email_missmatch_count();
    if ($counts > 0) {
      return FALSE;
    }
  }
  return TRUE;
}