From 878887d3f9ecd7c580c911b8d80e16871393b9f5 Mon Sep 17 00:00:00 2001 From: Grégoire Aubert Date: Fri, 24 Nov 2017 11:55:03 +0100 Subject: SONAR-9962 Remove the "unset as default" action on Quality Gates --- server/sonar-web/src/main/js/api/quality-gates.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'server/sonar-web/src/main/js/api') diff --git a/server/sonar-web/src/main/js/api/quality-gates.ts b/server/sonar-web/src/main/js/api/quality-gates.ts index b7eb009e7f1..10bc60cea6c 100644 --- a/server/sonar-web/src/main/js/api/quality-gates.ts +++ b/server/sonar-web/src/main/js/api/quality-gates.ts @@ -74,10 +74,6 @@ export function setQualityGateAsDefault(id: string): Promise { return post('/api/qualitygates/set_as_default', { id }).catch(throwGlobalError); } -export function unsetQualityGateAsDefault(id: string): Promise { - return post('/api/qualitygates/unset_default', { id }).catch(throwGlobalError); -} - export function createCondition(gateId: string, condition: RequestData): Promise { return postJSON('/api/qualitygates/create_condition', { ...condition, gateId }); } -- cgit v1.2.3