summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-06-03 04:32:19 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-06-08 23:06:22 +0200
commit25c35ab30a0caf4376a31891f44970d579ebfe1f (patch)
treeebf96cac4bc5726f3f245139f2ebe7ec74cb1c43
parentfc8f5b0f09e1ab272b483a0a9393ff3d7c8fb64d (diff)
downloadphp-git-25c35ab30a0caf4376a31891f44970d579ebfe1f.tar.gz
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.
-rw-r--r--.gitattributes1
-rw-r--r--ext/pdo_pgsql/pdo_pgsql.c7
2 files changed, 1 insertions, 7 deletions
diff --git a/.gitattributes b/.gitattributes
index b18f86301b..5d0df8ad7e 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -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
diff --git a/ext/pdo_pgsql/pdo_pgsql.c b/ext/pdo_pgsql/pdo_pgsql.c
index 7d7c3116d6..0996b34c32 100644
--- a/ext/pdo_pgsql/pdo_pgsql.c
+++ b/ext/pdo_pgsql/pdo_pgsql.c
@@ -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();
}
/* }}} */