From: Godin Date: Mon, 1 Nov 2010 12:52:46 +0000 (+0000) Subject: SONAR-1913: Property renamed to "sonar.updatecenter.activate". X-Git-Tag: 2.6~719 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=db6d48b266064476469ec27b2b7b2e6c06fe52f3;p=sonarqube.git SONAR-1913: Property renamed to "sonar.updatecenter.activate". --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/updatecenter_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/updatecenter_controller.rb index be17f0b9b4c..6a84b0fa634 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/updatecenter_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/updatecenter_controller.rb @@ -124,7 +124,7 @@ class UpdatecenterController < ApplicationController end def updatecenter_activated - update_center_activated = java_facade.getConfigurationValue('sonar.updatecenter') || 'true'; + update_center_activated = java_facade.getConfigurationValue('sonar.updatecenter.activate') || 'true'; if update_center_activated!='true' redirect_to home_url end diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb index a617eaec873..e223270877a 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb @@ -76,7 +76,7 @@
  • Settings
  • Backup
  • System info
  • - <% update_center_activated = controller.java_facade.getConfigurationValue('sonar.updatecenter') || 'true'; + <% update_center_activated = controller.java_facade.getConfigurationValue('sonar.updatecenter.activate') || 'true'; if update_center_activated=='true' %>
  • Upgrades (BETA)
  • <% end %>