diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2011-05-31 08:59:32 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2011-05-31 08:59:32 +0000 |
commit | 3300cc8e38198867e2e24c5bee876ed124298796 (patch) | |
tree | b3c21e4ed6b2953fe5ffe8a65ca82f44f10c1005 | |
parent | c76af7c0418109f289ab8edc1afbee92c5dbb8ff (diff) | |
download | php-git-3300cc8e38198867e2e24c5bee876ed124298796.tar.gz |
Removed unnecessary rinit/rshutdown
-rw-r--r-- | ext/pdo_pgsql/pdo_pgsql.c | 22 | ||||
-rw-r--r-- | ext/pdo_pgsql/php_pdo_pgsql.h | 2 |
2 files changed, 2 insertions, 22 deletions
diff --git a/ext/pdo_pgsql/pdo_pgsql.c b/ext/pdo_pgsql/pdo_pgsql.c index bdc6c31e35..805d752afc 100644 --- a/ext/pdo_pgsql/pdo_pgsql.c +++ b/ext/pdo_pgsql/pdo_pgsql.c @@ -67,8 +67,8 @@ zend_module_entry pdo_pgsql_module_entry = { pdo_pgsql_functions, PHP_MINIT(pdo_pgsql), PHP_MSHUTDOWN(pdo_pgsql), - PHP_RINIT(pdo_pgsql), - PHP_RSHUTDOWN(pdo_pgsql), + NULL, + NULL, PHP_MINFO(pdo_pgsql), "1.0.2", STANDARD_MODULE_PROPERTIES @@ -106,24 +106,6 @@ PHP_MSHUTDOWN_FUNCTION(pdo_pgsql) } /* }}} */ -/* {{{ PHP_RINIT_FUNCTION - */ -PHP_RINIT_FUNCTION(pdo_pgsql) -{ - /* php_pdo_register_driver(&pdo_pgsql_driver); */ - return SUCCESS; -} -/* }}} */ - -/* {{{ PHP_MSHUTDOWN_FUNCTION - */ -PHP_RSHUTDOWN_FUNCTION(pdo_pgsql) -{ - /* php_pdo_unregister_driver(&pdo_pgsql_driver); */ - return SUCCESS; -} -/* }}} */ - /* {{{ PHP_MINFO_FUNCTION */ PHP_MINFO_FUNCTION(pdo_pgsql) diff --git a/ext/pdo_pgsql/php_pdo_pgsql.h b/ext/pdo_pgsql/php_pdo_pgsql.h index 4dd4a7c986..f3fa759534 100644 --- a/ext/pdo_pgsql/php_pdo_pgsql.h +++ b/ext/pdo_pgsql/php_pdo_pgsql.h @@ -32,8 +32,6 @@ extern zend_module_entry pdo_pgsql_module_entry; PHP_MINIT_FUNCTION(pdo_pgsql); PHP_MSHUTDOWN_FUNCTION(pdo_pgsql); -PHP_RINIT_FUNCTION(pdo_pgsql); -PHP_RSHUTDOWN_FUNCTION(pdo_pgsql); PHP_MINFO_FUNCTION(pdo_pgsql); #endif /* PHP_PDO_PGSQL_H */ |