Skip to content

Commit

Permalink
style(agent): Comment clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
zsistla committed Feb 5, 2025
1 parent 88c904d commit 4aa2522
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions agent/lib_php_amqplib.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@
static void nr_php_amqplib_ensure_class() {
zval retval_zpd;
int result = FAILURE;
//amber
return;

result = zend_eval_string("class_exists('PhpAmqpLib\\Channel\\AMQPChannel');",
&retval_zpd, "Get nr_php_amqplib_class_exists");
Expand All @@ -93,7 +91,7 @@ return;
}

/*
* Version detection will be called directly from PhpAmqpLib\\Package::VERSION
* Version detection will be called pulled from PhpAmqpLib\\Package::VERSION
* nr_php_amqplib_handle_version will automatically load the class if it isn't
* loaded yet and then evaluate the string. To avoid the VERY unlikely but not
* impossible fatal error if the file/class isn't loaded yet, we need to wrap
Expand Down

0 comments on commit 4aa2522

Please sign in to comment.