Commit f7a6e048 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '214731-remove-composer-feature-flag' into 'master'

Remove php composer feature flags

See merge request gitlab-org/gitlab!34339
parents 7196be85 0f7b96e9
---
title: Add PHP Composer Package Support
merge_request: 34339
author: Jochen Roth @ochorocho, Giorgenes Gelatti
type: added
......@@ -54,10 +54,6 @@ module API
resource :group, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do
before do
unless ::Feature.enabled?(:composer_packages, user_group)
not_found!
end
authorize_packages_feature!(user_group)
end
......@@ -102,10 +98,6 @@ module API
resource :projects, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do
before do
unless ::Feature.enabled?(:composer_packages, unauthorized_user_project!)
not_found!
end
authorize_packages_feature!(unauthorized_user_project!)
end
......
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