This commit is contained in:
salam committed 2026-07-15 10:48:34 +02:00
1 parent 7c19b9d3ee
commit 9954f47139
2 files changed
+45 -34

No files matched your search

@@ -90,6 +90,11 @@ class StatistikoEventsTable
if (!$data['sport_id']) {
$data['sport_id'] = 1;
}
StatistikoEvent::where('exp_home', 0)->delete();
StatistikoEvent::where('exp_away', 0)->delete();
StatistikoEvent::where('exp_handicap', 0)->delete();
StatistikoEvent::where('exp_total', 0)->delete();
$events = StatistikoEvent::where('sport_id', (int) $data['sport_id'])->pluck('match_id')->toArray();
$doublEvents = array_diff_assoc(
$events,