remove lastcontrol timestamp

This commit is contained in:
salam committed 2026-01-27 08:21:12 +01:00
1 parent cc8ddb544b
commit 0742b6c19f
65 files changed
+132 -313

No files matched your search

+4 -1
View File
@@ -69,7 +69,6 @@ class Odds
$base['provider_id'] = Nuh::$options['provider_id'];
$base['bmoid'] = preg_replace('/\D/', '', $match['i']);
$base['flag'] = 1;
$base['checked_at'] = now();
$event_id_collector[] = $event_id;
@@ -148,5 +147,9 @@ class Odds
->where('bookmaker_id', Nuh::$options['bookmaker_id'])
->update(['in_feed' => 0]);
$tables = ['odds_3ways', 'odds_dc', 'odds_ggng', 'odds_points', 'odds_points_q1', 'odds_totals', 'odds_totals_q1', 'odds_tq'];
foreach ($tables as $table) {
DB::table($table)->where('bookmaker_id', $bookmaker_id)->whereNotIn('event_id', $event_id_collector)->update(['flags' => 0]);
}
}
}