From 8eceec4c11715b83faf6a7bff745b3f5e383fd11 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 28 Jul 2014 15:33:43 +0200 Subject: SONAR-5417 Load project referentials using WS --- .../main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'sonar-core') diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java b/sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java index 9e597b79d59..a61f4d8f081 100644 --- a/sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java +++ b/sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java @@ -85,15 +85,12 @@ public class PreviewDatabaseFactory implements ServerComponent { private void copy(DataSource source, DataSource dest, @Nullable Long projectId) { DbTemplate template = new DbTemplate(profiling); template - .copyTable(source, dest, "active_rules") - .copyTable(source, dest, "active_rule_parameters") .copyTable(source, dest, "characteristics") .copyTable(source, dest, "permission_templates") .copyTable(source, dest, "perm_templates_users") .copyTable(source, dest, "perm_templates_groups") .copyTable(source, dest, "rules") .copyTable(source, dest, "rules_parameters") - .copyTable(source, dest, "rules_profiles") .copyTableColumns(source, dest, "users", new String[] {"id", "login", "name", "active"}); if (projectId != null) { template.copyTable(source, dest, "projects", projectQuery(projectId, false)); -- cgit v1.2.3