You are here

function domain_update_7000 in Domain Access 7.2

Same name and namespace in other branches
  1. 7.3 domain.install \domain_update_7000()

Update block deltas to Drupal 7.

File

./domain.install, line 108
Install file.

Code

function domain_update_7000() {

  // Get an array of the renamed block deltas, organized by module.
  $renamed_deltas = array(
    'domain' => array(
      '0' => 'switcher',
      '1' => 'information',
    ),
  );
  $moved_deltas = array();
  update_fix_d7_block_deltas($sandbox, $renamed_deltas, $moved_deltas);
  return t('Domain Access blocks updated.');
}