summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_context.cpp
diff options
context:
space:
mode:
authorsamantharitter <samantha.ritter@10gen.com>2017-06-27 12:09:40 -0400
committerJason Carey <jcarey@argv.me>2017-07-13 17:40:53 -0400
commite1cae24805e3e7282958ee67a01555dd6ce40039 (patch)
treeebce77d9a502a193784483b2201b65e1a5010d98 /src/mongo/db/service_context.cpp
parent9a49ee3a03e02597086e577f06a71a0723bc0582 (diff)
downloadmongo-e1cae24805e3e7282958ee67a01555dd6ce40039.tar.gz
SERVER-29610 Allow LogicalSessionIds to contain signed user information
Diffstat (limited to 'src/mongo/db/service_context.cpp')
-rw-r--r--src/mongo/db/service_context.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/service_context.cpp b/src/mongo/db/service_context.cpp
index f4083be9901..05d89c4cc6f 100644
--- a/src/mongo/db/service_context.cpp
+++ b/src/mongo/db/service_context.cpp
@@ -161,15 +161,6 @@ PeriodicRunner* ServiceContext::getPeriodicRunner() const {
return _runner.get();
}
-void ServiceContext::setLogicalSessionCache(std::unique_ptr<LogicalSessionCache> cache)& {
- invariant(!_sessionCache);
- _sessionCache = std::move(cache);
-}
-
-LogicalSessionCache* ServiceContext::getLogicalSessionCache() const& {
- return _sessionCache.get();
-}
-
transport::TransportLayer* ServiceContext::getTransportLayer() const {
return _transportLayer.get();
}