fetchminingtaxesobservers
This commit is contained in:
@@ -88,7 +88,6 @@ class FetchMiningTaxesObservers implements ShouldQueue
|
|||||||
|
|
||||||
//Run through the mining observers, and add them to the database
|
//Run through the mining observers, and add them to the database
|
||||||
foreach($resp as $observer) {
|
foreach($resp as $observer) {
|
||||||
if($observer->observer_id > 1030000000000) {
|
|
||||||
//See if the observer is found in the database
|
//See if the observer is found in the database
|
||||||
$found = Observer::where([
|
$found = Observer::where([
|
||||||
'observer_id' => $observer->observer_id,
|
'observer_id' => $observer->observer_id,
|
||||||
@@ -119,7 +118,6 @@ class FetchMiningTaxesObservers implements ShouldQueue
|
|||||||
$newObs->save();
|
$newObs->save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cleanup stale data that hasn't been updated in at least 1 week.
|
* Cleanup stale data that hasn't been updated in at least 1 week.
|
||||||
|
|||||||
Reference in New Issue
Block a user