aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2017-02-08 13:37:14 +0100
committerStas Vilchik <stas-vilchik@users.noreply.github.com>2017-02-08 16:25:16 +0100
commit21a188aad134c69739b5f9dce43f0981580721ac (patch)
treee46c740ee5d970ab08b12b65a3415fb52080b7fb /sonar-core
parent83aed1d83de14bcd148526336f9ee2cfba614978 (diff)
downloadsonarqube-21a188aad134c69739b5f9dce43f0981580721ac.tar.gz
sonarqube-21a188aad134c69739b5f9dce43f0981580721ac.zip
SONAR-8750 Return sonar.lf.sonarqube.com.enabled in api/navigation/global
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java2
-rw-r--r--sonar-core/src/main/java/org/sonar/core/config/WebConstants.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java
index ffac9913d82..7553822770a 100644
--- a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java
+++ b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java
@@ -192,7 +192,7 @@ public class CorePropertyDefinitions {
.category(CoreProperties.CATEGORY_GENERAL)
.subCategory(CoreProperties.SUBCATEGORY_LOOKNFEEL)
.build(),
- PropertyDefinition.builder("sonar.lf.aboutText")
+ PropertyDefinition.builder(WebConstants.SONAR_LF_ABOUT_TEXT)
.name("About page text")
.description("Optional text that is displayed on the About page. Supports html.")
.category(CoreProperties.CATEGORY_GENERAL)
diff --git a/sonar-core/src/main/java/org/sonar/core/config/WebConstants.java b/sonar-core/src/main/java/org/sonar/core/config/WebConstants.java
index 2c89edfbb93..25e265e7754 100644
--- a/sonar-core/src/main/java/org/sonar/core/config/WebConstants.java
+++ b/sonar-core/src/main/java/org/sonar/core/config/WebConstants.java
@@ -29,7 +29,9 @@ public final class WebConstants {
public static final String SONAR_LF_GRAVATAR_SERVER_URL = "sonar.lf.gravatarServerUrl";
public static final String SONAR_LF_LOGO_URL = "sonar.lf.logoUrl";
public static final String SONAR_LF_LOGO_WIDTH_PX = "sonar.lf.logoWidthPx";
+ public static final String SONAR_LF_ABOUT_TEXT = "sonar.lf.aboutText";
public static final String SONAR_UPDATECENTER_ACTIVATE = "sonar.updatecenter.activate";
+ public static final String SONARQUBE_DOT_COM_ENABLED = "sonar.lf.sonarqube.com.enabled";
private WebConstants() {
}