diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-04-26 16:22:27 +0200 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-04-26 16:22:27 +0200 |
commit | 7a9fd6cb73dabcff0b1fb59d8769d2033e307a5d (patch) | |
tree | 81d50776bd8244eee23d8bbc78232735e7e4c73f | |
parent | 43888ce6c210e5502bf8bb52e5762906aa50c70c (diff) | |
download | sonarqube-7a9fd6cb73dabcff0b1fb59d8769d2033e307a5d.tar.gz sonarqube-7a9fd6cb73dabcff0b1fb59d8769d2033e307a5d.zip |
Do not feed RULE_FAILURES.PERMANENT_ID when rendering violations
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb index 910a52c5594..8c3def0db68 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb @@ -213,11 +213,6 @@ class ResourceController < ApplicationController else @global_violations<<violation end - # if the permanent_id does not exist, set it to the current id - unless violation.permanent_id - violation.permanent_id = violation.id - violation.save - end end if !@expanded && @lines |