aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/webapp
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-12-14 19:28:38 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-12-15 14:45:04 +0100
commit251930ec8326956a505bfe2ef6863c5a423fbe14 (patch)
treef711bad773894c1f52505a30eebed86b76bb15cd /server/sonar-web/src/main/webapp
parent6e6f004f24142e3739c892bbee9153c26a51d0a1 (diff)
downloadsonarqube-251930ec8326956a505bfe2ef6863c5a423fbe14.tar.gz
sonarqube-251930ec8326956a505bfe2ef6863c5a423fbe14.zip
SONAR-7293 Replace Ruby WS api/issues/delete_comment by Java WS
Diffstat (limited to 'server/sonar-web/src/main/webapp')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/issues_controller.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/issues_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/issues_controller.rb
index 2416697a6b8..0ede211a63a 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/issues_controller.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/issues_controller.rb
@@ -22,23 +22,6 @@
class Api::IssuesController < Api::ApiController
#
- # POST /api/issues/delete_comment?key=<key>
- #
- # -- Mandatory parameters
- # 'key' is the comment key
- #
- # -- Example
- # curl -X POST -v -u admin:admin 'http://localhost:9000/api/issues/delete_comment?key=392160d3-a4f2-4c52-a565-e4542cfa2096'
- #
- def delete_comment
- verify_post_request
- require_parameters :key
-
- comment = Internal.issues.deleteComment(params[:key])
- render :json => jsonp({:comment => Issue.comment_to_hash(comment)})
- end
-
- #
# Execute a bulk change on a list of issues
#
# POST /api/issues/bulk_change?issue=<key>&text=<text>