Commit 0f7b96e9 authored by Giorgenes Gelatti's avatar Giorgenes Gelatti Committed by Rémy Coutable

Remove php composer feature flags

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