Skip to content

Commit 1202018

Browse files
author
Will Gallego
committed
removing dupe const RES_BAD_KEY_PROVIDED
This was causing errors in PHP 7.1. We're sticking with that and transitioning to 3.x for memcached once PHP 7.1 is fully out
1 parent 607860c commit 1202018

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

php_memcached.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4390,7 +4390,6 @@ static void php_memc_register_constants(INIT_FUNC_ARGS)
43904390
REGISTER_MEMC_CLASS_CONST_LONG(RES_MEMORY_ALLOCATION_FAILURE, MEMCACHED_MEMORY_ALLOCATION_FAILURE);
43914391
REGISTER_MEMC_CLASS_CONST_LONG(RES_CONNECTION_SOCKET_CREATE_FAILURE, MEMCACHED_CONNECTION_SOCKET_CREATE_FAILURE);
43924392

4393-
REGISTER_MEMC_CLASS_CONST_LONG(RES_BAD_KEY_PROVIDED, MEMCACHED_BAD_KEY_PROVIDED);
43944393
REGISTER_MEMC_CLASS_CONST_LONG(RES_E2BIG, MEMCACHED_E2BIG);
43954394
REGISTER_MEMC_CLASS_CONST_LONG(RES_KEY_TOO_BIG, MEMCACHED_KEY_TOO_BIG);
43964395
REGISTER_MEMC_CLASS_CONST_LONG(RES_SERVER_TEMPORARILY_DISABLED, MEMCACHED_SERVER_TEMPORARILY_DISABLED);

0 commit comments

Comments
 (0)