filter in monitor wip
This commit is contained in:
1 parent
f5221e1d1c
commit
da257748ae
17 files changed
+339
-145
No files matched your search
@@ -129,6 +129,7 @@ class Odds
|
||||
/*************************************************
|
||||
* CALL
|
||||
*************************************************/
|
||||
$counter = 0;
|
||||
foreach ($_calls as $url) {
|
||||
|
||||
$data = Xml::load($url);
|
||||
@@ -184,6 +185,8 @@ class Odds
|
||||
|
||||
Nuh::$_event = Event::firstOrCreate($event, ['starttime' => $event['starttime']]);
|
||||
|
||||
$counter++;
|
||||
|
||||
foreach ($row->bookmaker as $book) {
|
||||
|
||||
Nuh::$bookmaker_id = (int) $book['bid'];
|
||||
@@ -257,10 +260,10 @@ class Odds
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($debug) {
|
||||
Notice::note('END '.Nuh::$_event->id, 'g');
|
||||
}
|
||||
if ($debug) {
|
||||
Notice::note('DONE - EVENTS: '.$counter, 'g');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user