diff options
Diffstat (limited to 'src/mongo/db/commands/dbcheck.cpp')
-rw-r--r-- | src/mongo/db/commands/dbcheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/dbcheck.cpp b/src/mongo/db/commands/dbcheck.cpp index d0c1ee0673e..73065a744dc 100644 --- a/src/mongo/db/commands/dbcheck.cpp +++ b/src/mongo/db/commands/dbcheck.cpp @@ -548,7 +548,7 @@ public: }; MONGO_INITIALIZER(RegisterDbCheckCmd)(InitializerContext* context) { - if (Command::testCommandsEnabled) { + if (getTestCommandsEnabled()) { new DbCheckCmd(); } return Status::OK(); |