Skip to content

Commit 28dc314

Browse files
jmikolaremicollet
andauthored
Remove ICU and add SRV to phpinfo() output (#1491)
* Remove MONGOC_ENABLE_ICU from phpinfo() output This was removed in d2a600b for libmongoc 1.25, but missed in PHPC-2262 * Report MONGOC_ENABLE_SRV in phpinfo() output --------- Co-authored-by: Remi Collet <[email protected]>
1 parent 10bdec4 commit 28dc314

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

php_phongo.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,10 +441,10 @@ PHP_MINFO_FUNCTION(mongodb) /* {{{ */
441441
php_info_print_table_row(2, "libmongoc SASL", "disabled");
442442
#endif
443443

444-
#ifdef MONGOC_ENABLE_ICU
445-
php_info_print_table_row(2, "libmongoc ICU", "enabled");
444+
#ifdef MONGOC_ENABLE_SRV
445+
php_info_print_table_row(2, "libmongoc SRV", "enabled");
446446
#else
447-
php_info_print_table_row(2, "libmongoc ICU", "disabled");
447+
php_info_print_table_row(2, "libmongoc SRV", "disabled");
448448
#endif
449449

450450
#ifdef MONGOC_ENABLE_COMPRESSION

0 commit comments

Comments
 (0)