File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ void nr_mongodb_enable() {
329
329
nr_mongodb_operation_before , nr_mongodb_operation_after ,
330
330
nr_mongodb_operation_after , "databaseCommand" );
331
331
332
- #else /* Non-OAPI */
332
+ #else /* Non-OAPI */
333
333
334
334
/*
335
335
* We instrument interesting methods on the MongoDB\Collection class via their
@@ -422,9 +422,10 @@ void nr_mongodb_enable() {
422
422
NR_PSTR ("MongoDB\\Operation\\DatabaseCommand::execute" ),
423
423
nr_mongodb_operation , "databaseCommand" TSRMLS_CC );
424
424
425
+ #endif /* OAPI */
426
+
425
427
if (NRINI (vulnerability_management_package_detection_enabled )) {
426
428
nr_txn_add_php_package (NRPRG (txn ), "mongodb/mongodb" ,
427
429
PHP_PACKAGE_VERSION_UNKNOWN );
428
430
}
429
- #endif /* OAPI */
430
431
}
You can’t perform that action at this time.
0 commit comments