From: Ilia Alshanetsky Date: Tue, 31 May 2011 08:59:32 +0000 (+0000) Subject: Removed unnecessary rinit/rshutdown X-Git-Tag: php-5.3.7RC1~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e91cecb1d34996ce2b918d41a24667d6bd0fbeca;p=php Removed unnecessary rinit/rshutdown --- 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 */