Commit 51ff1cae authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'ajk-license-all-features' into 'master'

Add ALL_FEATURES to license

See merge request gitlab-org/gitlab!28602
parents 276a22f6 24196ed6
......@@ -15,8 +15,8 @@ module EE
prepended do
def stub_licensed_features(features)
existing_features = License::FEATURES_BY_PLAN.values.flatten.map(&:to_sym)
missing_features = features.keys.map(&:to_sym) - existing_features
# EEU_FEATURES contains all the features we know about
missing_features = features.keys.map(&:to_sym) - License::EEU_FEATURES
if missing_features.any?
subject = missing_features.join(', ')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment