Fixed: do not store center in Person any more, the centerHistory is now fully in use

This commit is contained in:
Julien Fastré 2022-10-08 01:11:54 +02:00
parent 8cf166f7ea
commit 76aa9c7058

View File

@ -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) {