Skip to content

Commit 8c83275

Browse files
committed
removed dead code.
1 parent a15d84c commit 8c83275

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

php_redis.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ PHP_METHOD(Redis, unsubscribe);
147147

148148
PHP_METHOD(Redis, getOption);
149149
PHP_METHOD(Redis, setOption);
150-
PHP_METHOD(Redis, setOptions);
151150

152151
#ifdef PHP_WIN32
153152
#define PHP_REDIS_API __declspec(dllexport)

redis.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ static zend_function_entry redis_functions[] = {
173173
/* options */
174174
PHP_ME(Redis, getOption, NULL, ZEND_ACC_PUBLIC)
175175
PHP_ME(Redis, setOption, NULL, ZEND_ACC_PUBLIC)
176-
PHP_ME(Redis, setOptions, NULL, ZEND_ACC_PUBLIC)
177176

178177
/* aliases */
179178
PHP_MALIAS(Redis, open, connect, NULL, ZEND_ACC_PUBLIC)
@@ -4964,12 +4963,5 @@ PHP_METHOD(Redis, setOption) {
49644963
}
49654964
/* }}} */
49664965

4967-
/* {{{ proto string Redis::setOptions(array $options)
4968-
*/
4969-
PHP_METHOD(Redis, setOptions) {
4970-
4971-
}
4972-
/* }}} */
4973-
49744966
/* vim: set tabstop=4 softtabstop=4 noexpandtab shiftwidth=4: */
49754967

0 commit comments

Comments
 (0)