Fixes stored include paths to match the "/core" migration.
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);
}
}