Skip to content

Commit

Permalink
disable invokeargs temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Mar 2, 2013
1 parent 4e3bc35 commit caaf4e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions yaf_controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,19 +393,23 @@ PHP_METHOD(yaf_controller, forward) {
}

request = zend_read_property(yaf_controller_ce, self, ZEND_STRL(YAF_CONTROLLER_PROPERTY_NAME_REQUEST), 1 TSRMLS_CC);
#if 0
parameters = zend_read_property(yaf_controller_ce, self, ZEND_STRL(YAF_CONTROLLER_PROPERTY_NAME_ARGS), 1 TSRMLS_CC);
#endif

if (Z_TYPE_P(request) != IS_OBJECT
|| !instanceof_function((request_ce = Z_OBJCE_P(request)), yaf_request_ce TSRMLS_CC)) {
RETURN_FALSE;
}

#if 0
if (ZVAL_IS_NULL(parameters)) {
MAKE_STD_ZVAL(parameters);
array_init(parameters);
zend_update_property(yaf_controller_ce, self, ZEND_STRL(YAF_CONTROLLER_PROPERTY_NAME_ARGS), parameters TSRMLS_CC);
zval_ptr_dtor(&parameters);
}
#endif

switch (ZEND_NUM_ARGS()) {
case 1:
Expand Down

0 comments on commit caaf4e2

Please sign in to comment.