Skip to content

Commit 2d515f1

Browse files
committed
remove NULL check
1 parent ea0e4cf commit 2d515f1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

agent/fw_drupal8.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -628,11 +628,6 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
628628
hook_implementation_map = nr_php_get_zval_object_property(
629629
module_handler, "hookImplementationsMap");
630630

631-
if (NULL == hook_implementation_map) {
632-
nrl_warning(NRL_FRAMEWORK, "NULL hookImplementationsMap object property");
633-
return false;
634-
}
635-
636631
if (!nr_php_is_zval_valid_array(hook_implementation_map)) {
637632
nrl_warning(NRL_FRAMEWORK,
638633
"hookImplementationsMap property not a valid array");

0 commit comments

Comments
 (0)