From 76aa9c70585f5b68b762b9bf1757899d63f10b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sat, 8 Oct 2022 01:11:54 +0200 Subject: [PATCH] Fixed: do not store center in Person any more, the centerHistory is now fully in use --- src/Bundle/ChillPersonBundle/Entity/Person.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Entity/Person.php b/src/Bundle/ChillPersonBundle/Entity/Person.php index 4b494c304..0d6e3e493 100644 --- a/src/Bundle/ChillPersonBundle/Entity/Person.php +++ b/src/Bundle/ChillPersonBundle/Entity/Person.php @@ -1561,8 +1561,6 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI */ public function setCenter(Center $center): self { - $this->center = $center; - $modification = new DateTimeImmutable('now'); foreach ($this->centerHistory as $centerHistory) {