Fix broken suspension cleaner

This commit rewrites the previously broken auto ban cleaner. It's now much more efficient and compact, and it removes bans correctly and on the right date.

Fixes #1
This commit is contained in:
2021-10-30 03:53:32 +01:00
parent 230eda1974
commit 59cfbd7ed1
10 changed files with 1095 additions and 469 deletions

View File

@@ -53,6 +53,7 @@ class Kernel extends ConsoleKernel
$schedule->job(new ProcessDueSuspensions)
->daily();
// Production value: Every day
// Development value: Every minute
}
/**