From 7cb612b6fb027fd6a5524df72c3934b67d0f680d Mon Sep 17 00:00:00 2001 From: Sébastien Lesaint Date: Fri, 9 Aug 2019 17:07:03 +0200 Subject: remove some SonarCloud specific code --- .../java/org/sonar/server/platform/db/migration/step/DataChange.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'server/sonar-db-migration') diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/DataChange.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/DataChange.java index a6beab641fc..51e36e4c5f1 100644 --- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/DataChange.java +++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/DataChange.java @@ -21,7 +21,6 @@ package org.sonar.server.platform.db.migration.step; import java.sql.Connection; import java.sql.SQLException; -import org.sonar.api.config.Configuration; import org.sonar.db.Database; import org.sonar.db.dialect.Dialect; @@ -63,10 +62,6 @@ public abstract class DataChange implements MigrationStep { return res; } - protected static boolean isSonarCloud(Configuration configuration) { - return configuration.getBoolean("sonar.sonarcloud.enabled").orElse(false); - } - public static class Context { private final Database db; private final Connection readConnection; -- cgit v1.2.3