Skip to content

Commit da73922

Browse files
remove dead code
1 parent d28e5b9 commit da73922

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/mongo/db/repl/replset_commands.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,6 @@ namespace repl {
124124
}
125125
} cmdReplSetRBID;
126126

127-
/** helper to get rollback id from another server. */
128-
int getRBID(DBClientConnection *c) {
129-
bo info;
130-
c->simpleCommand("admin", &info, "replSetGetRBID");
131-
return info["rbid"].numberInt();
132-
}
133-
134127
class CmdReplSetGetStatus : public ReplSetCommand {
135128
public:
136129
virtual void help( stringstream &help ) const {

0 commit comments

Comments
 (0)