Revert to old behavior. #478
This commit is contained in:
parent
aa6ec44e27
commit
663e28c403
1 changed files with 4 additions and 4 deletions
|
|
@ -51,14 +51,14 @@ class RiderCache
|
|||
$lat = $data[1][1];
|
||||
|
||||
// get rider details so we can check for availability
|
||||
$rider = $this->getRiderDetails($id);
|
||||
if ($rider != null)
|
||||
{
|
||||
//$rider = $this->getRiderDetails($id);
|
||||
//if ($rider != null)
|
||||
//{
|
||||
$locs[$id] = [
|
||||
'longitude' => $lng,
|
||||
'latitude' => $lat,
|
||||
];
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
// error_log(print_r($all_riders, true));
|
||||
|
|
|
|||
Loading…
Reference in a new issue