summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/copydb_start_commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/copydb_start_commands.cpp')
-rw-r--r--src/mongo/db/commands/copydb_start_commands.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/commands/copydb_start_commands.cpp b/src/mongo/db/commands/copydb_start_commands.cpp
index 18979fa6022..99c79e9345a 100644
--- a/src/mongo/db/commands/copydb_start_commands.cpp
+++ b/src/mongo/db/commands/copydb_start_commands.cpp
@@ -100,8 +100,7 @@ namespace mongo {
BSONObj& cmdObj,
int,
string& errmsg,
- BSONObjBuilder& result,
- bool fromRepl) {
+ BSONObjBuilder& result) {
string fromhost = cmdObj.getStringField("fromhost");
if ( fromhost.empty() ) {
@@ -174,8 +173,7 @@ namespace mongo {
BSONObj& cmdObj,
int,
string& errmsg,
- BSONObjBuilder& result,
- bool fromRepl) {
+ BSONObjBuilder& result) {
string fromDb = cmdObj.getStringField("fromdb");
string fromHost = cmdObj.getStringField("fromhost");