Skip to content

Commit

Permalink
simplify, constant are inherited from Yaf_Request_Abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Jun 24, 2016
1 parent bd6ffea commit a51c162
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions requests/yaf_request_simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,6 @@ YAF_STARTUP_FUNCTION(request_simple){
yaf_request_simple_ce = zend_register_internal_class_ex(&ce, yaf_request_ce);
yaf_request_simple_ce->ce_flags |= ZEND_ACC_FINAL;

#if PHP_VERSION_ID < 70100
zend_declare_class_constant_string(yaf_request_simple_ce, ZEND_STRL("SCHEME_HTTP"), "http");
zend_declare_class_constant_string(yaf_request_simple_ce, ZEND_STRL("SCHEME_HTTPS"), "https");
#endif

return SUCCESS;
}
/* }}} */
Expand Down

0 comments on commit a51c162

Please sign in to comment.