starttime delete events

This commit is contained in:
salam committed 2026-03-12 11:00:33 +01:00
1 parent fcad6af570
commit 575330ea17
4 files changed
+11 -12

No files matched your search

@@ -24,7 +24,7 @@ class Fixtures
/**
* Delete Started
*/
$info = Mapper::where('starttime', '<', Carbon::now()->subHours(24))->delete();
$info = Mapper::where('starttime', '<', Carbon::now()->subHours(2))->delete();
if ($debug) {
Notice::note("Deleted: $info");
+4 -5
View File
@@ -45,11 +45,10 @@ class Odds
/**
* Delete
*/
$info = Event::where('starttime', '<', Carbon::now()->subMinutes(10))->delete();
if ($debug) {
Notice::note("Deleted: $info");
}
// $info = Event::where('starttime', '<', Carbon::now()->subMinutes(10))->delete();
// if ($debug) {
// Notice::note("Deleted: $info");
// }
switch (Nuh::$options['sport_id']) {
case 1: