Skip to content

Commit

Permalink
review: consolidate conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
bduranleau-nr committed Jan 23, 2025
1 parent da14399 commit aebfeeb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions agent/fw_drupal8.c
Original file line number Diff line number Diff line change
Expand Up @@ -808,9 +808,7 @@ void nr_drupal8_enable(TSRMLS_D) {
if (NULL == drupal_ce) {
inject = false;
nrl_warning(NRL_FRAMEWORK, "Missing Drupal RouteMatch Class");
}

if (inject) {
} else {
symfony_ce
= nr_php_find_class("Symfony\\Component\\HttpFoundation\\Request");
if (NULL == symfony_ce) {
Expand Down

0 comments on commit aebfeeb

Please sign in to comment.