diff --git a/core/scripts/update-countries.sh b/core/scripts/update-countries.sh index 043eceae800d2c1ae7278391736ee055dbee54a0..9aa70dc9db2864966a30f358adcc00cc03c22037 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