diff options
author | Godin <mandrikov@gmail.com> | 2010-11-01 12:52:46 +0000 |
---|---|---|
committer | Godin <mandrikov@gmail.com> | 2010-11-01 12:52:46 +0000 |
commit | db6d48b266064476469ec27b2b7b2e6c06fe52f3 (patch) | |
tree | b5cdfc6bce6dcaaec1c5759131e8cd66d9885190 /sonar-server | |
parent | 8dc8484f2ebcfcbd7b8c9ac9765033b52cac5e85 (diff) | |
download | sonarqube-db6d48b266064476469ec27b2b7b2e6c06fe52f3.tar.gz sonarqube-db6d48b266064476469ec27b2b7b2e6c06fe52f3.zip |
SONAR-1913: Property renamed to "sonar.updatecenter.activate".
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/updatecenter_controller.rb | 2 | ||||
-rw-r--r-- | sonar-server/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 @@ <li class="<%= 'selected' if request.request_uri.include?('/settings') -%>"><a href="<%= ApplicationController.root_context -%>/settings/index">Settings</a></li> <li class="<%= 'selected' if controller.controller_path=='backup' -%>"><a href="<%= ApplicationController.root_context -%>/backup">Backup</a></li> <li class="<%= 'selected' if controller.controller_path=='system' -%>"><a href="<%= ApplicationController.root_context -%>/system">System info</a></li> - <% 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' %> <li class="<%= 'selected' if controller.controller_path=='updatecenter' -%>"><a href="<%= ApplicationController.root_context -%>/updatecenter">Upgrades (BETA)</a></li> <% end %> |