summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@gmail.com>2015-01-13 13:03:38 -0500
committerScott Hernandez <scotthernandez@gmail.com>2015-01-15 08:35:11 -0500
commitda73922df67d5e56b28e7f9287c6e6dc80f9ccde (patch)
treea9ec37c1ddf4fbe97ed49ae51ab00582834e60a3 /src
parentd28e5b9190ec12a6c70bee6d47eec605ea394862 (diff)
downloadmongo-da73922df67d5e56b28e7f9287c6e6dc80f9ccde.tar.gz
remove dead code
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/repl/replset_commands.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/repl/replset_commands.cpp b/src/mongo/db/repl/replset_commands.cpp
index 6c2d076eb61..33bc0c723b8 100644
--- a/src/mongo/db/repl/replset_commands.cpp
+++ b/src/mongo/db/repl/replset_commands.cpp
@@ -124,13 +124,6 @@ namespace repl {
}
} cmdReplSetRBID;
- /** helper to get rollback id from another server. */
- int getRBID(DBClientConnection *c) {
- bo info;
- c->simpleCommand("admin", &info, "replSetGetRBID");
- return info["rbid"].numberInt();
- }
-
class CmdReplSetGetStatus : public ReplSetCommand {
public:
virtual void help( stringstream &help ) const {