From b8a4470a8cbcfc430fcde54614f7cf31708e48d9 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 8 Sep 2014 14:46:45 +0200 Subject: [PATCH] SONAR-2860 Drop one remaining use of commons configuration --- server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb index 8e8514384f4..96acb93ad75 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb @@ -156,7 +156,7 @@ class Server end def sonar_property(key) - Java::OrgSonarServerUi::JRubyFacade.getInstance().getContainer().getComponentByType(Java::OrgApacheCommonsConfiguration::Configuration.java_class).getProperty(key) + Java::OrgSonarServerUi::JRubyFacade.getInstance().getConfigurationValue(key) end def realm_name -- 2.39.5