Issue #3073934 by tedbow, xjm, Gábor Hojtsy: Remove dead code path in locale_translation_build_projects that was meant to set 'core' for localization path from project 'core'

merge-requests/55/head
Gábor Hojtsy 2019-08-23 14:37:47 +02:00
parent 520bbcde7f
commit bf4caf99ad
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ function locale_translation_build_projects() {
$data += [
'name' => $name,
'version' => isset($data['info']['version']) ? $data['info']['version'] : '',
'core' => isset($data['info']['core']) ? $data['info']['core'] : \Drupal::CORE_COMPATIBILITY,
'core' => \Drupal::CORE_COMPATIBILITY,
// A project can provide the path and filename pattern to download the
// gettext file. Use the default if not.
'server_pattern' => isset($data['info']['interface translation server pattern']) && $data['info']['interface translation server pattern'] ? $data['info']['interface translation server pattern'] : $default_server['pattern'],