diff options
Diffstat (limited to 'src/mongo/db/commands/list_indexes.cpp')
-rw-r--r-- | src/mongo/db/commands/list_indexes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/list_indexes.cpp b/src/mongo/db/commands/list_indexes.cpp index 557390465f1..5502b9add2f 100644 --- a/src/mongo/db/commands/list_indexes.cpp +++ b/src/mongo/db/commands/list_indexes.cpp @@ -74,7 +74,7 @@ namespace { * ] * } */ -class CmdListIndexes : public Command { +class CmdListIndexes : public BasicCommand { public: virtual bool slaveOk() const { return false; @@ -114,7 +114,7 @@ public: << ns.coll()); } - CmdListIndexes() : Command("listIndexes") {} + CmdListIndexes() : BasicCommand("listIndexes") {} bool run(OperationContext* opCtx, const string& dbname, |