remove lastcontrol timestamp
This commit is contained in:
1 parent
cc8ddb544b
commit
0742b6c19f
65 files changed
+132
-313
No files matched your search
@@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user