diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-06-02 17:59:26 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-06-04 17:10:49 +0200 |
commit | cf6b24ccdadc843d6768531176d6b23fb206afab (patch) | |
tree | f9294964463c92e108c98ba0683c49081f40200d | |
parent | cb64696ca68a7b3bd5a3a90c2df02c8a295aaf6e (diff) | |
download | php-git-cf6b24ccdadc843d6768531176d6b23fb206afab.tar.gz |
Sync tidy phpinfo extension version
This patch removes the tidy extension Git ident attribute blob name from
the phpinfo output to be synced with other extensions versioning system
and replaces table header with normal row in the first tidy info table.
-rw-r--r-- | .gitattributes | 1 | ||||
-rw-r--r-- | ext/tidy/tidy.c | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/.gitattributes b/.gitattributes index 30a278b082..e060ead42c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -12,7 +12,6 @@ ext/dba/libcdb/cdb.c ident run-tests.php ident ext/exif/exif.c ident ext/pdo_pgsql/pdo_pgsql.c ident -ext/tidy/tidy.c ident NEWS merge=NEWS UPGRADING merge=NEWS UPGRADING.INTERNALS merge=NEWS diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index 2c2c278eb5..b531c9c92f 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -1098,7 +1096,7 @@ static PHP_MSHUTDOWN_FUNCTION(tidy) static PHP_MINFO_FUNCTION(tidy) { php_info_print_table_start(); - php_info_print_table_header(2, "Tidy support", "enabled"); + php_info_print_table_row(2, "Tidy support", "enabled"); #if HAVE_TIDYBUFFIO_H php_info_print_table_row(2, "libTidy Version", (char *)tidyLibraryVersion()); #elif HAVE_TIDYP_H @@ -1107,7 +1105,6 @@ static PHP_MINFO_FUNCTION(tidy) #if HAVE_TIDYRELEASEDATE php_info_print_table_row(2, "libTidy Release", (char *)tidyReleaseDate()); #endif - php_info_print_table_row(2, "Extension Version", PHP_TIDY_VERSION " ($Id$)"); php_info_print_table_end(); DISPLAY_INI_ENTRIES(); |