Skip to content

Commit

Permalink
remove unneeded feature_known
Browse files Browse the repository at this point in the history
it was introduced in the beginning but never used
  • Loading branch information
kbrock committed May 12, 2022
1 parent 997c201 commit cfa68f1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/models/mixins/supports_feature_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ def supports?(feature)
public_send("supports_#{feature}?")
end

# query the instance if a feature is generally known
def feature_known?(feature)
self.class.feature_known?(feature)
end

private

# used inside a +supports+ block to add a reason why the feature is not supported
Expand Down

0 comments on commit cfa68f1

Please sign in to comment.