summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb2
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