diff options
Diffstat (limited to 'src/mongo/db/commands.cpp')
| -rw-r--r-- | src/mongo/db/commands.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/commands.cpp b/src/mongo/db/commands.cpp index 3ec877b7d4c..646578c855d 100644 --- a/src/mongo/db/commands.cpp +++ b/src/mongo/db/commands.cpp @@ -205,7 +205,6 @@ void CommandHelpers::runCommandInvocation(OperationContext* opCtx, CommandInvocation* invocation, rpc::ReplyBuilderInterface* response) { auto&& hooks = getCommandInvocationHooks(opCtx->getServiceContext()); - if (hooks) { hooks->onBeforeRun(opCtx, request, invocation); } |
