diff options
Diffstat (limited to 'app/models/concerns/featurable.rb')
-rw-r--r-- | app/models/concerns/featurable.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/concerns/featurable.rb b/app/models/concerns/featurable.rb index 20b72957ec2..ed9bce87da1 100644 --- a/app/models/concerns/featurable.rb +++ b/app/models/concerns/featurable.rb @@ -88,9 +88,6 @@ module Featurable end def feature_available?(feature, user) - # This feature might not be behind a feature flag at all, so default to true - return false unless ::Feature.enabled?(feature, user, default_enabled: true) - get_permission(user, feature) end |