From 2e5cff96ee79431c9b13fbf7df2d801273f6e73d Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Fri, 8 Sep 2023 09:53:38 +0100 Subject: [PATCH] Issue #3384436 by smustgrave, quietone, Spokje: Remove redefintion of t() from update-countries.sh --- core/scripts/update-countries.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/scripts/update-countries.sh b/core/scripts/update-countries.sh index 043eceae800d..9aa70dc9db28 100755 --- a/core/scripts/update-countries.sh +++ b/core/scripts/update-countries.sh @@ -34,16 +34,6 @@ exit('CLDR data file not found. (' . $uri . ")\n\n" . $usage . "\n"); } -// Fake the t() function used in CountryManager.php instead of attempting a full -// Drupal bootstrap of core/includes/bootstrap.inc (where t() is declared). -if (!function_exists('t')) { - - function t($string) { - return $string; - } - -} - // Read in existing codes. // @todo Allow to remove previously existing country codes. // @see https://www.drupal.org/node/1436754 -- GitLab