diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-05-10 13:11:25 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-05-10 13:11:25 -0400 |
commit | 465b5587980f77ddd0685fbb5ba9cf95d109c324 (patch) | |
tree | 7dfeb4478a7271cb1be9b7d031904a5883067eab /src/mongo | |
parent | 9a1b92102088670581bc0e8e522465b2a3d359e0 (diff) | |
download | mongo-465b5587980f77ddd0685fbb5ba9cf95d109c324.tar.gz |
Remove unused readOnly method from "features" command object
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/db/dbcommands_generic.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/dbcommands_generic.cpp b/src/mongo/db/dbcommands_generic.cpp index 5abd1cf5da3..d39e412b2c8 100644 --- a/src/mongo/db/dbcommands_generic.cpp +++ b/src/mongo/db/dbcommands_generic.cpp @@ -149,7 +149,6 @@ namespace mongo { FeaturesCmd() : Command( "features", true ) {} void help(stringstream& h) const { h << "return build level feature settings"; } virtual bool slaveOk() const { return true; } - virtual bool readOnly() { return true; } virtual LockType locktype() const { return NONE; } virtual void addRequiredPrivileges(const std::string& dbname, const BSONObj& cmdObj, |