summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/create_indexes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/create_indexes.cpp')
-rw-r--r--src/mongo/db/commands/create_indexes.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/commands/create_indexes.cpp b/src/mongo/db/commands/create_indexes.cpp
index ef79e828556..dfb1c8f0db6 100644
--- a/src/mongo/db/commands/create_indexes.cpp
+++ b/src/mongo/db/commands/create_indexes.cpp
@@ -203,12 +203,6 @@ void validateTTLOptions(OperationContext* opCtx,
void checkEncryptedFieldIndexRestrictions(OperationContext* opCtx,
const NamespaceString& ns,
const CreateIndexesCommand& cmd) {
- // TODO (SERVER-65077): Remove FCV check once 6.0 is released
- if (serverGlobalParams.featureCompatibility.isVersionInitialized() &&
- !gFeatureFlagFLE2.isEnabled(serverGlobalParams.featureCompatibility)) {
- return;
- }
-
AutoGetCollection collection(opCtx, ns, MODE_IS);
if (!collection) {
return;