Skip to content

Commit 2794985

Browse files
petkcmb69
authored andcommitted
Remove enchant version from the phpinfo output
This patch syncs the phpinfo output with other bundled extensions.
1 parent 24e1ae0 commit 2794985

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ ext/iconv/php_iconv.h ident
33
ext/ext_skel.php ident
44
ext/phar/phar/pharcommand.inc ident
55
ext/phar/phar.c ident
6-
ext/enchant/enchant.c ident
76
ext/oci8/oci8.c ident
87
ext/dba/libinifile/inifile.c ident
98
ext/dba/libflatfile/flatfile.c ident

ext/enchant/enchant.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
| Author: Pierre-Alain Joye <paj@pearfr.org> |
1616
| Ilia Alshanetsky <ilia@prohost.org> |
1717
+----------------------------------------------------------------------+
18-
19-
$Id$
2018
*/
2119

2220
#ifdef HAVE_CONFIG_H
@@ -316,8 +314,7 @@ PHP_MINFO_FUNCTION(enchant)
316314

317315
pbroker = enchant_broker_init();
318316
php_info_print_table_start();
319-
php_info_print_table_header(2, "enchant support", "enabled");
320-
php_info_print_table_row(2, "Version", PHP_ENCHANT_VERSION);
317+
php_info_print_table_row(2, "enchant support", "enabled");
321318
#ifdef ENCHANT_VERSION_STRING
322319
php_info_print_table_row(2, "Libenchant Version", ENCHANT_VERSION_STRING);
323320
#elif defined(HAVE_ENCHANT_BROKER_SET_PARAM)

0 commit comments

Comments
 (0)