Revert to old behavior. #478

This commit is contained in:
Korina Cordero 2020-08-26 07:45:55 +00:00
parent aa6ec44e27
commit 663e28c403

View file

@ -51,14 +51,14 @@ class RiderCache
$lat = $data[1][1]; $lat = $data[1][1];
// get rider details so we can check for availability // get rider details so we can check for availability
$rider = $this->getRiderDetails($id); //$rider = $this->getRiderDetails($id);
if ($rider != null) //if ($rider != null)
{ //{
$locs[$id] = [ $locs[$id] = [
'longitude' => $lng, 'longitude' => $lng,
'latitude' => $lat, 'latitude' => $lat,
]; ];
} //}
} }
// error_log(print_r($all_riders, true)); // error_log(print_r($all_riders, true));