Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

chore: remove webhooks table cleanup

peaklabs-dev3e9dd6a7bfaa
diff --git a/app/Console/Commands/CleanupDatabase.php b/app/Console/Commands/CleanupDatabase.php
index 2ccb76529d..347ea94193 100644
--- a/app/Console/Commands/CleanupDatabase.php
+++ b/app/Console/Commands/CleanupDatabase.php
@@ -64,13 +64,5 @@ class CleanupDatabase extends Command
if ($this->option('yes')) {
$scheduled_task_executions->delete();
}
-
- // Cleanup webhooks table
- $webhooks = DB::table('webhooks')->where('created_at', '<', now()->subDays($keep_days));
- $count = $webhooks->count();
- echo "Delete $count entries from webhooks.\n";
- if ($this->option('yes')) {
- $webhooks->delete();
- }
}
}