Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/constraints/feature_constrainer.rb')
-rw-r--r--lib/constraints/feature_constrainer.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/constraints/feature_constrainer.rb b/lib/constraints/feature_constrainer.rb
deleted file mode 100644
index cd246cf37a4..00000000000
--- a/lib/constraints/feature_constrainer.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-module Constraints
- class FeatureConstrainer
- attr_reader :args
-
- def initialize(*args)
- @args = args
- end
-
- def matches?(_request)
- Feature.enabled?(*args)
- end
- end
-end