From 40c1d5d4e2b70a4e5551d05dd6d90fc9ec5921f1 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 2 Jun 2018 03:30:54 +0200 Subject: [PATCH] Normalize filter phpinfo() output This patch normalizes the filter extension version in the php info output. Instead of the Git attributes ident blob object name from Git repository only extension status is displayed. --- .gitattributes | 2 -- README.input_filter | 1 - ext/filter/filter.c | 3 --- 3 files changed, 6 deletions(-) diff --git a/.gitattributes b/.gitattributes index 53d13503d95..7abf69c3e49 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13,8 +13,6 @@ ext/dba/libinifile/inifile.c ident ext/dba/libflatfile/flatfile.c ident ext/dba/libcdb/cdb_make.c ident ext/dba/libcdb/cdb.c ident -ext/filter/filter.c ident -README.input_filter ident run-tests.php ident ext/exif/exif.c ident ext/ldap/ldap.c ident diff --git a/README.input_filter b/README.input_filter index be260013ac6..697d6e763be 100644 --- a/README.input_filter +++ b/README.input_filter @@ -86,7 +86,6 @@ PHP_MINFO_FUNCTION(my_input_filter) { php_info_print_table_start(); php_info_print_table_row( 2, "My Input Filter Support", "enabled" ); - php_info_print_table_row( 2, "Revision", "$Id$"); php_info_print_table_end(); } diff --git a/ext/filter/filter.c b/ext/filter/filter.c index 8ed8427bc44..d7eab36bb63 100644 --- a/ext/filter/filter.c +++ b/ext/filter/filter.c @@ -19,8 +19,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -330,7 +328,6 @@ PHP_MINFO_FUNCTION(filter) { php_info_print_table_start(); php_info_print_table_row( 2, "Input Validation and Filtering", "enabled" ); - php_info_print_table_row( 2, "Revision", "$Id$"); php_info_print_table_end(); DISPLAY_INI_ENTRIES();