StatisticFixtures delete
This commit is contained in:
1 parent
876c5257d4
commit
624b56e04d
1 file changed
+1
-1
+1
-1
@@ -19,7 +19,7 @@ class ListStatisticFixtures extends ListRecords
|
||||
->requiresConfirmation()
|
||||
->color('danger')
|
||||
->action(function () {
|
||||
StatisticFixtures::where('starttime', '<', now()->subHour())->delete();
|
||||
StatisticFixtures::where('starttime', '<', now())->delete();
|
||||
}),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user