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() {
329329 nr_mongodb_operation_before , nr_mongodb_operation_after ,
330330 nr_mongodb_operation_after , "databaseCommand" );
331331
332- #else /* Non-OAPI */
332+ #else /* Non-OAPI */
333333
334334 /*
335335 * We instrument interesting methods on the MongoDB\Collection class via their
@@ -422,9 +422,10 @@ void nr_mongodb_enable() {
422422 NR_PSTR ("MongoDB\\Operation\\DatabaseCommand::execute" ),
423423 nr_mongodb_operation , "databaseCommand" TSRMLS_CC );
424424
425+ #endif /* OAPI */
426+
425427 if (NRINI (vulnerability_management_package_detection_enabled )) {
426428 nr_txn_add_php_package (NRPRG (txn ), "mongodb/mongodb" ,
427429 PHP_PACKAGE_VERSION_UNKNOWN );
428430 }
429- #endif /* OAPI */
430431}
You can’t perform that action at this time.
0 commit comments