Skip to content
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.

Delete all codes about gearman_worker_set_server_option. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions php_gearman.c
Original file line number Diff line number Diff line change
Expand Up @@ -1908,10 +1908,6 @@ PHP_FUNCTION(gearman_client_add_server) {
RETURN_FALSE;
}

if (!gearman_client_set_server_option(&(obj->client), "exceptions", (sizeof("exceptions") - 1))) {
GEARMAN_EXCEPTION("Failed to set exception option", 0);
}

RETURN_TRUE;
}
/* }}} */
Expand All @@ -1934,10 +1930,6 @@ PHP_FUNCTION(gearman_client_add_servers) {
RETURN_FALSE;
}

if (!gearman_client_set_server_option(&(obj->client), "exceptions", (sizeof("exceptions") - 1))) {
GEARMAN_EXCEPTION("Failed to set exception option", 0);
}

RETURN_TRUE;
}
/* }}} */
Expand Down Expand Up @@ -3385,10 +3377,6 @@ PHP_FUNCTION(gearman_worker_add_server) {
RETURN_FALSE;
}

if (! gearman_worker_set_server_option(&(obj->worker), "exceptions", (sizeof("exceptions") - 1))) {
GEARMAN_EXCEPTION("Failed to set exception option", 0);
}

RETURN_TRUE;
}
/* }}} */
Expand All @@ -3411,10 +3399,6 @@ PHP_FUNCTION(gearman_worker_add_servers) {
RETURN_FALSE;
}

if (! gearman_worker_set_server_option(&(obj->worker), "exceptions", (sizeof("exceptions") - 1))) {
GEARMAN_EXCEPTION("Failed to set exception option", 0);
}

RETURN_TRUE;
}
/* }}} */
Expand Down