From bf4caf99ad7828d5031a69844c43b5320ed56c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=CC=81bor=20Hojtsy?= <gabor@hojtsy.hu> Date: Fri, 23 Aug 2019 14:37:47 +0200 Subject: [PATCH] =?UTF-8?q?Issue=20#3073934=20by=20tedbow,=20xjm,=20G?= =?UTF-8?q?=C3=A1bor=20Hojtsy:=20Remove=20dead=20code=20path=20in=20locale?= =?UTF-8?q?=5Ftranslation=5Fbuild=5Fprojects=20that=20was=20meant=20to=20s?= =?UTF-8?q?et=20'core'=20for=20localization=20path=20from=20project=20'cor?= =?UTF-8?q?e'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/modules/locale/locale.compare.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/locale/locale.compare.inc b/core/modules/locale/locale.compare.inc index 776bc752591e..74aa1faa508a 100644 --- a/core/modules/locale/locale.compare.inc +++ b/core/modules/locale/locale.compare.inc @@ -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'], -- GitLab