Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php_redis.h2
-rw-r--r--redis.c20
2 files changed, 2 insertions, 20 deletions
diff --git a/php_redis.h b/php_redis.h
index f20c7397..4cc8c674 100644
--- a/php_redis.h
+++ b/php_redis.h
@@ -237,8 +237,6 @@ PHP_METHOD(Redis, getMode);
PHP_MINIT_FUNCTION(redis);
PHP_MSHUTDOWN_FUNCTION(redis);
-PHP_RINIT_FUNCTION(redis);
-PHP_RSHUTDOWN_FUNCTION(redis);
PHP_MINFO_FUNCTION(redis);
/* Redis response handler function callback prototype */
diff --git a/redis.c b/redis.c
index 25983763..8e389bc1 100644
--- a/redis.c
+++ b/redis.c
@@ -523,8 +523,8 @@ zend_module_entry redis_module_entry = {
NULL,
PHP_MINIT(redis),
PHP_MSHUTDOWN(redis),
- PHP_RINIT(redis),
- PHP_RSHUTDOWN(redis),
+ NULL,
+ NULL,
PHP_MINFO(redis),
#if ZEND_MODULE_API_NO >= 20010901
PHP_REDIS_VERSION,
@@ -868,22 +868,6 @@ PHP_MSHUTDOWN_FUNCTION(redis)
}
/**
- * PHP_RINIT_FUNCTION
- */
-PHP_RINIT_FUNCTION(redis)
-{
- return SUCCESS;
-}
-
-/**
- * PHP_RSHUTDOWN_FUNCTION
- */
-PHP_RSHUTDOWN_FUNCTION(redis)
-{
- return SUCCESS;
-}
-
-/**
* PHP_MINFO_FUNCTION
*/
PHP_MINFO_FUNCTION(redis)