Skip to content

Commit 593513b

Browse files
committed
remove NULL check
1 parent 75b5329 commit 593513b

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
@@ -631,11 +631,6 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
631631
hook_implementation_map = nr_php_get_zval_object_property(
632632
module_handler, "hookImplementationsMap");
633633

634-
if (NULL == hook_implementation_map) {
635-
nrl_warning(NRL_FRAMEWORK, "NULL hookImplementationsMap object property");
636-
return false;
637-
}
638-
639634
if (!nr_php_is_zval_valid_array(hook_implementation_map)) {
640635
nrl_warning(NRL_FRAMEWORK,
641636
"hookImplementationsMap property not a valid array");

0 commit comments

Comments
 (0)