From db6d48b266064476469ec27b2b7b2e6c06fe52f3 Mon Sep 17 00:00:00 2001 From: Godin Date: Mon, 1 Nov 2010 12:52:46 +0000 Subject: [PATCH] SONAR-1913: Property renamed to "sonar.updatecenter.activate". --- .../webapp/WEB-INF/app/controllers/updatecenter_controller.rb | 2 +- .../src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 %> -- 2.39.5