Commit 0fe0e02c authored by catch's avatar catch
Browse files

Issue #3384436 by smustgrave, quietone, Spokje: Remove redefintion of t() from update-countries.sh

(cherry picked from commit 2e5cff96)
parent c754c4c0
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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