diff options
Diffstat (limited to 'src/mongo/db/mongod_options.cpp')
-rw-r--r-- | src/mongo/db/mongod_options.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/mongo/db/mongod_options.cpp b/src/mongo/db/mongod_options.cpp index f77dce0fcc5..e63df877d1c 100644 --- a/src/mongo/db/mongod_options.cpp +++ b/src/mongo/db/mongod_options.cpp @@ -40,6 +40,7 @@ #include "mongo/bson/util/builder.h" #include "mongo/config.h" #include "mongo/db/db.h" +#include "mongo/db/global_settings.h" #include "mongo/db/repl/repl_settings.h" #include "mongo/db/server_options.h" #include "mongo/db/server_options_helpers.h" @@ -56,8 +57,6 @@ namespace mongo { using std::cout; using std::endl; -MongodGlobalParams mongodGlobalParams; - Status addMongodOptions(moe::OptionSection* options) { moe::OptionSection general_options("General options"); @@ -1298,16 +1297,4 @@ Status storeMongodOptions(const moe::Environment& params) { return Status::OK(); } -namespace { -repl::ReplSettings globalReplSettings; -} // namespace - -void setGlobalReplSettings(const repl::ReplSettings& settings) { - globalReplSettings = settings; -} - -const repl::ReplSettings& getGlobalReplSettings() { - return globalReplSettings; -} - } // namespace mongo |