Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
This was checking for the headerfault property, but not actually
doing anything with it.
  • Loading branch information
nikic committed Aug 20, 2021
1 parent aa4898e commit b3b1658
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ext/soap/soap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1473,11 +1473,6 @@ PHP_METHOD(SoapServer, handle)
}
if (Z_TYPE(h->retval) == IS_OBJECT &&
instanceof_function(Z_OBJCE(h->retval), soap_fault_class_entry)) {
zval *tmp;

if ((tmp = zend_hash_str_find(Z_OBJPROP(h->retval), "headerfault", sizeof("headerfault")-1)) != NULL &&
Z_TYPE_P(tmp) != IS_NULL) {
}
php_output_discard();
soap_server_fault_ex(function, &h->retval, h);
zend_string_release(fn_name);
Expand Down

0 comments on commit b3b1658

Please sign in to comment.