]> source.dussan.org Git - sonarqube.git/commitdiff
Add comment in order to remove specific code for retro compatibility for the SQALE...
authorJulien Lancelot <julien.lancelot@gmail.com>
Thu, 12 Sep 2013 10:28:10 +0000 (12:28 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Thu, 12 Sep 2013 10:28:10 +0000 (12:28 +0200)
sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb

index 1b00e9010ffa7ee197246585ff40d3be54ba351e..4d302fdf10f213e310e92ace4143ce93fc30b9b3 100644 (file)
@@ -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