You are here

function progress_update_7000 in Progress 8

Same name and namespace in other branches
  1. 7 progress.install \progress_update_7000()

Implemets for Major version upgrade of Drupal

File

./progress.install, line 64
Installation file for the Progress module

Code

function progress_update_7000(&$context) {
  $schema_version = db_query("SELECT schema_version FROM {system} WHERE name = 'progress'")
    ->fetchField();
  if ($schema_version > 0 && $schema_version < 7000) {
    $context['sandbox']['major_version_upgrade'] = array(
      7101 => TRUE,
    );
  }
}