summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/connections.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2012-12-17 20:12:03 -0500
committerSpencer T Brody <spencer@10gen.com>2012-12-19 12:26:55 -0500
commit168d46df5887cfa922c34b990e3ee1dd433c2768 (patch)
treeb900d1499089fd1bd92e400bbc35d5943238e4bb /src/mongo/db/repl/connections.h
parentdf79de82bba9d41334003c07fd842cc949453a08 (diff)
downloadmongo-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.h8
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);