fetchminingtaxesobservers

This commit is contained in:
2021-05-18 18:28:36 +09:00
parent d815c15176
commit 1c4406a6eb

View File

@@ -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.