Introduce a new Namespace#licensed_feature_available? method
This makes clear that this method is checking for licensed features,
for consistency with `Project#licensed_feature_available?`.
I believe in the end, `Namespace#licensed_feature_available?` should
replace `Namespace#feature_available?` since `Namespace` only checks
for licensed features.
Signed-off-by:
Rémy Coutable <remy@rymai.me>
显示
- app/models/namespace.rb 6 个添加, 1 个删除app/models/namespace.rb
- app/models/project.rb 5 个添加, 0 个删除app/models/project.rb
- ee/app/models/ee/namespace.rb 2 个添加, 2 个删除ee/app/models/ee/namespace.rb
- ee/app/models/ee/project.rb 10 个添加, 10 个删除ee/app/models/ee/project.rb
- lib/gitlab/background_migration/user_mentions/models/namespace.rb 6 个添加, 1 个删除...ab/background_migration/user_mentions/models/namespace.rb
加载中
想要评论请 注册 或 登录