Skip to content

Commit

Permalink
remove more clean
Browse files Browse the repository at this point in the history
  • Loading branch information
ZNeumann committed May 15, 2024
1 parent 8eaf488 commit adac80a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions agent/fw_yii.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ NR_PHP_WRAPPER_END
void nr_yii1_enable(TSRMLS_D) {
#if ZEND_MODULE_API_NO >= ZEND_8_0_X_API_NO \
&& !defined OVERWRITE_ZEND_EXECUTE_DATA
nr_php_wrap_user_function_before_after_clean(
nr_php_wrap_user_function_before_after(
NR_PSTR("CAction::runWithParams"), nr_yii1_runWithParams_wrapper, NULL);
nr_php_wrap_user_function_before_after_clean(
nr_php_wrap_user_function_before_after(
NR_PSTR("CInlineAction::runWithParams"), nr_yii1_runWithParams_wrapper,
NULL);
#else
Expand Down Expand Up @@ -194,12 +194,12 @@ NR_PHP_WRAPPER_END
void nr_yii2_enable(TSRMLS_D) {
#if ZEND_MODULE_API_NO >= ZEND_8_0_X_API_NO \
&& !defined OVERWRITE_ZEND_EXECUTE_DATA
nr_php_wrap_user_function_before_after_clean(
nr_php_wrap_user_function_before_after(
NR_PSTR("yii\\base\\Action::runWithParams"),
nr_yii2_runWithParams_wrapper, NULL, NULL);
nr_php_wrap_user_function_before_after_clean(
nr_yii2_runWithParams_wrapper, NULL);
nr_php_wrap_user_function_before_after(
NR_PSTR("yii\\base\\InlineAction::runWithParams"),
nr_yii2_runWithParams_wrapper, NULL, NULL);
nr_yii2_runWithParams_wrapper, NULL);
#else
nr_php_wrap_user_function(NR_PSTR("yii\\base\\Action::runWithParams"),
nr_yii2_runWithParams_wrapper TSRMLS_CC);
Expand Down

0 comments on commit adac80a

Please sign in to comment.