Sync phpinfo output for pdo_pgsql

This patch removes the module version and revision from the phpinfo
output to sync the phpinfo with the rest of the bundled extensions.
This commit is contained in:
Peter Kokot 2018-06-03 04:32:19 +02:00 committed by Nikita Popov
parent fc8f5b0f09
commit 25c35ab30a
2 changed files with 1 additions and 7 deletions

1
.gitattributes vendored
View file

@ -10,7 +10,6 @@ ext/dba/libcdb/cdb_make.c ident
ext/dba/libcdb/cdb.c ident
run-tests.php ident
ext/exif/exif.c ident
ext/pdo_pgsql/pdo_pgsql.c ident
NEWS merge=NEWS
UPGRADING merge=NEWS
UPGRADING.INTERNALS merge=NEWS

View file

@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@ -105,13 +103,10 @@ PHP_MSHUTDOWN_FUNCTION(pdo_pgsql)
PHP_MINFO_FUNCTION(pdo_pgsql)
{
php_info_print_table_start();
php_info_print_table_header(2, "PDO Driver for PostgreSQL", "enabled");
php_info_print_table_row(2, "PDO Driver for PostgreSQL", "enabled");
#ifdef HAVE_PG_CONFIG_H
php_info_print_table_row(2, "PostgreSQL(libpq) Version", PG_VERSION);
#endif
php_info_print_table_row(2, "Module version", pdo_pgsql_module_entry.version);
php_info_print_table_row(2, "Revision", " $Id$ ");
php_info_print_table_end();
}
/* }}} */