aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-migration
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-08-09 17:07:03 +0200
committerSonarTech <sonartech@sonarsource.com>2019-08-14 20:21:13 +0200
commit7cb612b6fb027fd6a5524df72c3934b67d0f680d (patch)
treedef1ee4e55c41dd7d374b4d3bdae60d1865c5a01 /server/sonar-db-migration
parent7917ecd874edfbca9bccc39991053cd794ec1c4b (diff)
downloadsonarqube-7cb612b6fb027fd6a5524df72c3934b67d0f680d.tar.gz
sonarqube-7cb612b6fb027fd6a5524df72c3934b67d0f680d.zip
remove some SonarCloud specific code
Diffstat (limited to 'server/sonar-db-migration')
-rw-r--r--server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/DataChange.java5
1 files changed, 0 insertions, 5 deletions
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;