function update_prepare_stored_includes

Fixes stored include paths to match the "/core" migration.

1 call to update_prepare_stored_includes()
update_prepare_d8_bootstrap in drupal/core/includes/update.inc
Performs extra steps required to bootstrap when using a Drupal 7 database.

File

drupal/core/includes/update.inc, line 438
Drupal database update API.

Code

function update_prepare_stored_includes() {

  // Update language negotiation settings.
  foreach (language_types_get_all() as $language_type) {
    $negotiation = variable_get("language_negotiation_{$language_type}", array());
    foreach ($negotiation as &$method) {
      if (isset($method['file']) && $method['file'] == 'includes/locale.inc') {
        $method['file'] = 'core/modules/language/language.negotiation.inc';
      }
    }
    variable_set("language_negotiation_{$language_type}", $negotiation);
  }
}