StatisticFixtures delete

This commit is contained in:
salam committed 2026-05-10 15:14:08 +02:00
1 parent 876c5257d4
commit 624b56e04d
1 file changed
+1 -1
@@ -19,7 +19,7 @@ class ListStatisticFixtures extends ListRecords
->requiresConfirmation() ->requiresConfirmation()
->color('danger') ->color('danger')
->action(function () { ->action(function () {
StatisticFixtures::where('starttime', '<', now()->subHour())->delete(); StatisticFixtures::where('starttime', '<', now())->delete();
}), }),
]; ];
} }