diff options
author | Gustavo Lopes <glopes@safelinq.com> | 2012-07-23 16:38:27 +0200 |
---|---|---|
committer | Gustavo Lopes <glopes@safelinq.com> | 2012-07-23 16:38:27 +0200 |
commit | c052b9c99ac09069d3f7c8ca5904c499ec842336 (patch) | |
tree | e584f68eab1bf1369b642e1008af4598647d143b /ext/intl/msgformat/msgformat_parse.c | |
parent | 0dfcc3e798cd54714f792bf7507c37b96146ee1b (diff) | |
download | php-git-c052b9c99ac09069d3f7c8ca5904c499ec842336.tar.gz |
Do not fetch default locale once on minit or rinit
The default locale is now requested to ICU when it's needed by using
intl_get_default_locale().
Diffstat (limited to 'ext/intl/msgformat/msgformat_parse.c')
-rwxr-xr-x | ext/intl/msgformat/msgformat_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/msgformat/msgformat_parse.c b/ext/intl/msgformat/msgformat_parse.c index f540b1d0c4..413d3b1f15 100755 --- a/ext/intl/msgformat/msgformat_parse.c +++ b/ext/intl/msgformat/msgformat_parse.c @@ -126,7 +126,7 @@ PHP_FUNCTION( msgfmt_parse_message ) } if(slocale_len == 0) { - slocale = INTL_G(default_locale); + slocale = intl_locale_get_default(TSRMLS_C); } #ifdef MSG_FORMAT_QUOTE_APOS |