Browse Source

Remove enchant version from the phpinfo output

This patch syncs the phpinfo output with other bundled extensions.
pull/3272/head
Peter Kokot 8 years ago
committed by Christoph M. Becker
parent
commit
279498564f
  1. 1
      .gitattributes
  2. 5
      ext/enchant/enchant.c

1
.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

5
ext/enchant/enchant.c

@ -15,8 +15,6 @@
| Author: Pierre-Alain Joye <paj@pearfr.org> |
| Ilia Alshanetsky <ilia@prohost.org> |
+----------------------------------------------------------------------+
$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)

Loading…
Cancel
Save