diff options
author | Jason Carey <jcarey@argv.me> | 2018-01-18 14:45:12 -0500 |
---|---|---|
committer | Jason Carey <jcarey@argv.me> | 2018-01-19 14:28:50 -0500 |
commit | d055ce30c42cec1171928f49c1739c0b14e0b455 (patch) | |
tree | efa390c089861f97ce83533f496f143def80cd2b /src/mongo/db/commands/refresh_logical_session_cache_now.cpp | |
parent | 5823009762c40b9632d735f0829ba7328baab0dd (diff) | |
download | mongo-d055ce30c42cec1171928f49c1739c0b14e0b455.tar.gz |
SERVER-32460 platforms upgrade/downgrade work
Diffstat (limited to 'src/mongo/db/commands/refresh_logical_session_cache_now.cpp')
-rw-r--r-- | src/mongo/db/commands/refresh_logical_session_cache_now.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mongo/db/commands/refresh_logical_session_cache_now.cpp b/src/mongo/db/commands/refresh_logical_session_cache_now.cpp index 7f21f14b952..b98d6a48815 100644 --- a/src/mongo/db/commands/refresh_logical_session_cache_now.cpp +++ b/src/mongo/db/commands/refresh_logical_session_cache_now.cpp @@ -65,12 +65,6 @@ public: Status checkAuthForOperation(OperationContext* opCtx, const std::string& dbname, const BSONObj& cmdObj) override { - - if (serverGlobalParams.featureCompatibility.getVersion() != - ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo36) { - return SessionsCommandFCV34Status(getName()); - } - return Status::OK(); } @@ -78,13 +72,6 @@ public: const std::string& db, const BSONObj& cmdObj, BSONObjBuilder& result) override { - - if (serverGlobalParams.featureCompatibility.getVersion() != - ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo36) { - return CommandHelpers::appendCommandStatus(result, - SessionsCommandFCV34Status(getName())); - } - auto cache = LogicalSessionCache::get(opCtx); auto client = opCtx->getClient(); |