From b9c21f84e444d47fdc3c2fad4e18703f74398e3e Mon Sep 17 00:00:00 2001 From: TomasVotruba Date: Wed, 18 Dec 2019 16:32:31 +0100 Subject: [PATCH] remove extra geocodable sql call --- src/ORM/Geocodable/GeocodableSubscriber.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ORM/Geocodable/GeocodableSubscriber.php b/src/ORM/Geocodable/GeocodableSubscriber.php index 502058f6..ae469139 100644 --- a/src/ORM/Geocodable/GeocodableSubscriber.php +++ b/src/ORM/Geocodable/GeocodableSubscriber.php @@ -87,10 +87,6 @@ private function updateLocation(LifecycleEventArgs $lifecycleEventArgs, $overrid } $unitOfWork->propertyChanged($entity, 'location', $oldValue, $entity->getLocation()); - - $unitOfWork->scheduleExtraUpdate($entity, [ - 'location' => [$oldValue, $entity->getLocation()], - ]); } } }