Skip to content

Commit

Permalink
remove debug comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zeriyoshi committed Sep 19, 2024
1 parent fdac205 commit c8bd769
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ext/hook.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,6 @@ static void hook_strtotime(INTERNAL_FUNCTION_PARAMETERS)
is_fixed_ret = is_fixed_time_str(times, NULL);

if (!preset_ts_is_null || is_fixed_ret == 1 || is_fixed_ret == FAILURE) {
//php_error_docref(NULL, E_NOTICE, "hook_strtotime is calling original function (%s, %ld)", ZSTR_VAL(times), preset_ts);
CALL_ORIGINAL_FUNCTION(strtotime);
return;
}
Expand All @@ -706,7 +705,6 @@ static void hook_strtotime(INTERNAL_FUNCTION_PARAMETERS)
zval params[2];
ZVAL_STR(&params[0], times);
ZVAL_LONG(&params[1], get_shifted_time(NULL));
//php_error_docref(NULL, E_NOTICE, "hook_strtotime is calling original function with params (%s, %ld)", Z_STRVAL_P(&params[0]), Z_LVAL_P(&params[1]));
CALL_ORIGINAL_FUNCTION_WITH_PARAMS(strtotime, params, 2);
}

Expand Down

0 comments on commit c8bd769

Please sign in to comment.