diff options
author | Spencer T Brody <spencer@10gen.com> | 2012-12-17 20:12:03 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2012-12-19 12:26:55 -0500 |
commit | 168d46df5887cfa922c34b990e3ee1dd433c2768 (patch) | |
tree | b900d1499089fd1bd92e400bbc35d5943238e4bb /src/mongo/db/repl/connections.h | |
parent | df79de82bba9d41334003c07fd842cc949453a08 (diff) | |
download | mongo-168d46df5887cfa922c34b990e3ee1dd433c2768.tar.gz |
SERVER-7572 Remove all code that sends AuthenticationTables
Diffstat (limited to 'src/mongo/db/repl/connections.h')
-rw-r--r-- | src/mongo/db/repl/connections.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mongo/db/repl/connections.h b/src/mongo/db/repl/connections.h index 19265bd4297..6b5c17e7123 100644 --- a/src/mongo/db/repl/connections.h +++ b/src/mongo/db/repl/connections.h @@ -65,12 +65,8 @@ namespace mongo { So here what we do is wrapper known safe methods and not allow cursor-style queries at all. This makes ScopedConn limited in functionality but very safe. More non-cursor wrappers can be added here if needed. */ - bool runCommand(const string &dbname, - const BSONObj& cmd, - BSONObj &info, - int options=0, - const AuthenticationTable* auth=NULL) { - return conn()->runCommand(dbname, cmd, info, options, noauth ? NULL : auth); + bool runCommand(const string &dbname, const BSONObj& cmd, BSONObj &info, int options=0) { + return conn()->runCommand(dbname, cmd, info, options); } unsigned long long count(const string &ns) { return conn()->count(ns); |