summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/explain_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/explain_cmd.cpp')
-rw-r--r--src/mongo/db/commands/explain_cmd.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/commands/explain_cmd.cpp b/src/mongo/db/commands/explain_cmd.cpp
index 0b2ad475968..652d1a8f2ac 100644
--- a/src/mongo/db/commands/explain_cmd.cpp
+++ b/src/mongo/db/commands/explain_cmd.cpp
@@ -135,10 +135,6 @@ public:
return false;
}
- Command::AllowedOnSecondary secondaryAllowed(ServiceContext* context) const override {
- return command()->secondaryAllowed(context);
- }
-
/**
* You are authorized to run an explain if you are authorized to run
* the command that you are explaining. The auth check is performed recursively