X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fscripts%2Fupdate-countries.sh;h=539d7321a93b0869efab9186e0382f1922d21064;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=abcc6994d45c3afd2e9e3a5ce654150cd8ffb8ad;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/web/core/scripts/update-countries.sh b/web/core/scripts/update-countries.sh index abcc6994d..539d7321a 100755 --- a/web/core/scripts/update-countries.sh +++ b/web/core/scripts/update-countries.sh @@ -37,9 +37,11 @@ USAGE; // 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.