aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db/src/main/java/org/sonar/db/purge/PurgeCommands.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-db/src/main/java/org/sonar/db/purge/PurgeCommands.java')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/purge/PurgeCommands.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/purge/PurgeCommands.java b/sonar-db/src/main/java/org/sonar/db/purge/PurgeCommands.java
index f77dfc2cdc8..4ce1529558e 100644
--- a/sonar-db/src/main/java/org/sonar/db/purge/PurgeCommands.java
+++ b/sonar-db/src/main/java/org/sonar/db/purge/PurgeCommands.java
@@ -210,4 +210,11 @@ class PurgeCommands {
session.commit();
profiler.stop();
}
+
+ public void deleteWebhookDeliveries(String rootUuid) {
+ profiler.start("deleteWebhookDeliveries (webhook_deliveries)");
+ purgeMapper.deleteWebhookDeliveriesByProjectUuid(rootUuid);
+ session.commit();
+ profiler.stop();
+ }
}