summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Saltz <matthew.saltz@mongodb.com>2018-03-22 15:30:44 -0400
committerMatthew Saltz <matthew.saltz@mongodb.com>2018-03-23 10:55:26 -0400
commit33e1da096f88609b27881d677f49e8d8147335ba (patch)
tree0cd388b10707e02c461fbdea006b98f6f488e45a
parent1407e246dbf6096127d5f482a1314c19c5b3a434 (diff)
downloadmongo-33e1da096f88609b27881d677f49e8d8147335ba.tar.gz
SERVER-33425: Removed unused function SessionsCommandFCV34Status
-rw-r--r--src/mongo/db/logical_session_id_helpers.cpp8
-rw-r--r--src/mongo/db/logical_session_id_helpers.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/db/logical_session_id_helpers.cpp b/src/mongo/db/logical_session_id_helpers.cpp
index fff8ad7a665..a700416c8b2 100644
--- a/src/mongo/db/logical_session_id_helpers.cpp
+++ b/src/mongo/db/logical_session_id_helpers.cpp
@@ -189,12 +189,4 @@ LogicalSessionIdSet makeLogicalSessionIds(const std::vector<LogicalSessionFromCl
return lsids;
}
-Status SessionsCommandFCV34Status(StringData command) {
- StringBuilder sb;
- sb << command;
- sb << " is not available in featureCompatibilityVersion 3.4. See ";
- sb << feature_compatibility_version_documentation::kCompatibilityLink << " .";
- return {ErrorCodes::InvalidOptions, sb.str()};
-}
-
} // namespace mongo
diff --git a/src/mongo/db/logical_session_id_helpers.h b/src/mongo/db/logical_session_id_helpers.h
index 7e08503432b..bc44e70040a 100644
--- a/src/mongo/db/logical_session_id_helpers.h
+++ b/src/mongo/db/logical_session_id_helpers.h
@@ -72,6 +72,4 @@ LogicalSessionIdSet makeLogicalSessionIds(const std::vector<LogicalSessionFromCl
OperationContext* opCtx,
std::initializer_list<Privilege> allowSpoof = {});
-Status SessionsCommandFCV34Status(StringData command);
-
} // namespace mongo