File tree 1 file changed +0
-15
lines changed 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -174,9 +174,6 @@ U_CFUNC PHP_FUNCTION(intlcal_get_keyword_values_for_locale)
174
174
RETURN_THROWS ();
175
175
}
176
176
177
- // does not work; see ICU bug 9194
178
- // TODO This was fixed in ICU 50.1 see: https://unicode-org.atlassian.net/browse/ICU-9194
179
- #if 0
180
177
StringEnumeration *se = Calendar::getKeywordValuesForLocale (key,
181
178
Locale::createFromName (locale), (UBool)commonly_used,
182
179
status);
@@ -185,18 +182,6 @@ U_CFUNC PHP_FUNCTION(intlcal_get_keyword_values_for_locale)
185
182
" error calling underlying method" , 0 );
186
183
RETURN_FALSE;
187
184
}
188
- #else
189
- UEnumeration *uenum = ucal_getKeywordValuesForLocale (
190
- key, locale, !!commonly_used, &status);
191
- if (U_FAILURE (status)) {
192
- uenum_close (uenum);
193
- intl_error_set (NULL , status, " intlcal_get_keyword_values_for_locale: "
194
- " error calling underlying method" , 0 );
195
- RETURN_FALSE;
196
- }
197
-
198
- StringEnumeration *se = new BugStringCharEnumeration (uenum);
199
- #endif
200
185
201
186
IntlIterator_from_StringEnumeration (se, return_value);
202
187
}
You can’t perform that action at this time.
0 commit comments