Skip to content

Commit ca5c948

Browse files
committed
refactor(agent): remove emitter function that is not needed
1 parent 4c98d5a commit ca5c948

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

agent/lib_guzzle4.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -445,12 +445,6 @@ NR_PHP_WRAPPER_START(nr_guzzle4_client_construct) {
445445
(void)wraprec;
446446
NR_UNUSED_SPECIALFN;
447447

448-
/* This is how we distinguish Guzzle 4/5 from other versions. */
449-
if (0 == nr_guzzle_does_zval_implement_has_emitter(this_var TSRMLS_CC)) {
450-
NR_PHP_WRAPPER_CALL;
451-
goto end;
452-
}
453-
454448
NR_PHP_WRAPPER_CALL;
455449

456450
/*

0 commit comments

Comments
 (0)