aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/quality-gates.ts
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-11-24 11:55:03 +0100
committerEric Hartmann <hartmann.eric@gmail.Com>2017-12-04 13:44:55 +0100
commit878887d3f9ecd7c580c911b8d80e16871393b9f5 (patch)
tree9c7f18e656821f48c1b8ce8851beba7a43bf9d8c /server/sonar-web/src/main/js/api/quality-gates.ts
parent2907c50b0aaf6b323ab70b91a3aa4436ef323006 (diff)
downloadsonarqube-878887d3f9ecd7c580c911b8d80e16871393b9f5.tar.gz
sonarqube-878887d3f9ecd7c580c911b8d80e16871393b9f5.zip
SONAR-9962 Remove the "unset as default" action on Quality Gates
Diffstat (limited to 'server/sonar-web/src/main/js/api/quality-gates.ts')
-rw-r--r--server/sonar-web/src/main/js/api/quality-gates.ts4
1 files changed, 0 insertions, 4 deletions
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<void | Response> {
return post('/api/qualitygates/set_as_default', { id }).catch(throwGlobalError);
}
-export function unsetQualityGateAsDefault(id: string): Promise<void | Response> {
- return post('/api/qualitygates/unset_default', { id }).catch(throwGlobalError);
-}
-
export function createCondition(gateId: string, condition: RequestData): Promise<any> {
return postJSON('/api/qualitygates/create_condition', { ...condition, gateId });
}