summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-09-12 12:28:10 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-09-12 12:28:10 +0200
commitd619b0e73e487fef0ebb4d65b1c341b57b5fe9aa (patch)
treec59124240a33e464e31e8eac6aa9b21381bd9686
parent2d5b745674af09bc63a8dcd285c3f9cf33a3f6bc (diff)
downloadsonarqube-d619b0e73e487fef0ebb4d65b1c341b57b5fe9aa.tar.gz
sonarqube-d619b0e73e487fef0ebb4d65b1c341b57b5fe9aa.zip
Add comment in order to remove specific code for retro compatibility for the SQALE plugin
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb
index 1b00e9010ff..4d302fdf10f 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb
@@ -284,6 +284,7 @@ class Rule < ActiveRecord::Base
values[:status] = STATUS_REMOVED
elsif status == 'ACTIVE' || status == 'INACTIVE'
# For retro compatibility for the Sqale plugin
+ # To be removed when SonarQube version will no more be compatible with SQALE version < 1.10
options[:activation] = status
conditions << ['status <> :status']
values[:status] = STATUS_REMOVED