From 279498564fbf95ee118b4b9109964ac72e2640fb Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 3 Jun 2018 05:38:34 +0200 Subject: [PATCH] Remove enchant version from the phpinfo output This patch syncs the phpinfo output with other bundled extensions. --- .gitattributes | 1 - ext/enchant/enchant.c | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitattributes b/.gitattributes index e060ead42c8..b18f86301bb 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,7 +3,6 @@ ext/iconv/php_iconv.h ident ext/ext_skel.php ident ext/phar/phar/pharcommand.inc ident ext/phar/phar.c ident -ext/enchant/enchant.c ident ext/oci8/oci8.c ident ext/dba/libinifile/inifile.c ident ext/dba/libflatfile/flatfile.c ident diff --git a/ext/enchant/enchant.c b/ext/enchant/enchant.c index 46981694d21..063b419bd3c 100644 --- a/ext/enchant/enchant.c +++ b/ext/enchant/enchant.c @@ -15,8 +15,6 @@ | Author: Pierre-Alain Joye | | Ilia Alshanetsky | +----------------------------------------------------------------------+ - - $Id$ */ #ifdef HAVE_CONFIG_H @@ -316,8 +314,7 @@ PHP_MINFO_FUNCTION(enchant) pbroker = enchant_broker_init(); php_info_print_table_start(); - php_info_print_table_header(2, "enchant support", "enabled"); - php_info_print_table_row(2, "Version", PHP_ENCHANT_VERSION); + php_info_print_table_row(2, "enchant support", "enabled"); #ifdef ENCHANT_VERSION_STRING php_info_print_table_row(2, "Libenchant Version", ENCHANT_VERSION_STRING); #elif defined(HAVE_ENCHANT_BROKER_SET_PARAM)