]> source.dussan.org Git - sonarqube.git/commitdiff
Drop unused organization properties
authorJacek <jacek.poreda@sonarsource.com>
Mon, 22 Mar 2021 14:44:07 +0000 (15:44 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 15 Apr 2021 20:03:44 +0000 (20:03 +0000)
sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java

index 26532c6bc5d781470c68f19afe04434cf36cc5a3..d3b20eab0f674471c617ca5e21394f16b59649f1 100644 (file)
@@ -42,15 +42,6 @@ public class CorePropertyDefinitions {
   public static final String SONAR_ANALYSIS_DETECTEDSCM = "sonar.analysis.detectedscm";
   public static final String SONAR_ANALYSIS_DETECTEDCI = "sonar.analysis.detectedci";
 
-  private static final String CATEGORY_ORGANIZATIONS = "organizations";
-
-  // TODO remove
-  @Deprecated
-  public static final String ORGANIZATIONS_ANYONE_CAN_CREATE = "sonar.organizations.anyoneCanCreate";
-
-  // TODO remove
-  @Deprecated
-  public static final String ORGANIZATIONS_CREATE_PERSONAL_ORG = "sonar.organizations.createPersonalOrg";
   public static final String DISABLE_NOTIFICATION_ON_BUILT_IN_QPROFILES = "sonar.builtInQualityProfiles.disableNotificationOnUpdate";
 
   public static final String PLUGINS_RISK_CONSENT = "sonar.plugins.risk.consent";
@@ -209,16 +200,8 @@ public class CorePropertyDefinitions {
         .category(CoreProperties.CATEGORY_EXCLUSIONS)
         .subCategory(CoreProperties.SUBCATEGORY_DUPLICATIONS_EXCLUSIONS)
         .multiValues(true)
-        .build(),
-
-      // ORGANIZATIONS
-      PropertyDefinition.builder(ORGANIZATIONS_ANYONE_CAN_CREATE)
-        .name("Allow any authenticated user to create organizations.")
-        .defaultValue(Boolean.toString(false))
-        .category(CATEGORY_ORGANIZATIONS)
-        .type(BOOLEAN)
-        .hidden()
         .build()));
+
     return defs;
   }
 }