From ca69df1a7c175703dbac9d321e93d2fc13847f83 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Thu, 29 Mar 2012 19:19:08 +0200 Subject: SONAR-3287 Update UI to adapt labels to deletable resource => Make it possible to delete a View or a Developer (resources and snapshots) through the Sonar UI --- .../src/main/java/org/sonar/plugins/dbcleaner/DefaultPurgeTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/sonar-dbcleaner-plugin') diff --git a/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/DefaultPurgeTask.java b/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/DefaultPurgeTask.java index afee357487a..7df47385763 100644 --- a/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/DefaultPurgeTask.java +++ b/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/DefaultPurgeTask.java @@ -58,7 +58,7 @@ public class DefaultPurgeTask implements PurgeTask { } public PurgeTask delete(long resourceId) { - purgeDao.deleteProject(resourceId); + purgeDao.deleteResourceTree(resourceId); return this; } -- cgit v1.2.3