timelib now have a function for this, use it

This commit is contained in:
Remi Collet 2017-08-22 12:55:13 +02:00
parent 3fff74aab5
commit f4792750a5

View File

@ -4723,8 +4723,7 @@ PHP_FUNCTION(timezone_identifiers_list)
}
tzdb = DATE_TIMEZONEDB;
item_count = tzdb->index_size;
table = tzdb->index;
table = timelib_timezone_identifiers_list(tzdb, &item_count);
array_init(return_value);