You are here

function domain_update_tables in Domain Access 7.3

Creates an array of tables to pass to the update script.

Parameters

$list: The modules array returned by domain_update_module_check().

Return value

$tables An array of tables to modify.

3 calls to domain_update_tables()
DomainUpdateTest::testDomainUpdate in tests/domain.test
domain_repair_form in ./domain.admin.inc
Repairs and updates instances of domain_id 0 after the update to 7.x.3.
drush_domain_repair in ./domain.drush.inc
Replaces domain_id 0 records with the default domain.

File

./domain.module, line 4036
Core module functions for the Domain Access suite.

Code

function domain_update_tables($list) {
  $tables = array();
  foreach ($list as $module) {
    $tables = array_merge($tables, $module['tables']);
  }
  return $tables;
}