Skip to content

Commit

Permalink
remove extra geocodable sql call
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Dec 18, 2019
1 parent f889154 commit b9c21f8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ORM/Geocodable/GeocodableSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ private function updateLocation(LifecycleEventArgs $lifecycleEventArgs, $overrid
}

$unitOfWork->propertyChanged($entity, 'location', $oldValue, $entity->getLocation());

$unitOfWork->scheduleExtraUpdate($entity, [
'location' => [$oldValue, $entity->getLocation()],
]);
}
}
}

0 comments on commit b9c21f8

Please sign in to comment.