diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-04-16 12:35:08 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-04-16 12:35:08 +0200 |
commit | 833ab401d8a7dd17c2f5ca02d71cf0c9e80d9e29 (patch) | |
tree | 84c93c51b65611bfb5cc9e67767965af3fe12d62 /sonar-server | |
parent | 107195ad1754f1495a441d87df7994f98235f472 (diff) | |
download | sonarqube-833ab401d8a7dd17c2f5ca02d71cf0c9e80d9e29.tar.gz sonarqube-833ab401d8a7dd17c2f5ca02d71cf0c9e80d9e29.zip |
Fix issue when deleting copy of rule
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb index 6048ec0963a..11b64b0ff8b 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb @@ -246,7 +246,7 @@ class RulesConfigurationController < ApplicationController def delete rule=Rule.find(params[:rule_id]) if rule.editable? - rule.status=RULE::STATUS_REMOVED + rule.status=Rule::STATUS_REMOVED rule.save # it's mandatory to execute 'destroy_all' but not 'delete_all' because active_rule_parameters must |