aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-dbcleaner-plugin
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2012-03-29 19:19:08 +0200
committerFabrice Bellingard <bellingard@gmail.com>2012-03-29 19:19:08 +0200
commitca69df1a7c175703dbac9d321e93d2fc13847f83 (patch)
tree9431bd56eeb7adcd4572c541255e798bf098753d /plugins/sonar-dbcleaner-plugin
parent2dab91a6c29fe829b1413a6ec469ff82a20ee1a7 (diff)
downloadsonarqube-ca69df1a7c175703dbac9d321e93d2fc13847f83.tar.gz
sonarqube-ca69df1a7c175703dbac9d321e93d2fc13847f83.zip
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
Diffstat (limited to 'plugins/sonar-dbcleaner-plugin')
-rw-r--r--plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/DefaultPurgeTask.java2
1 files changed, 1 insertions, 1 deletions
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;
}