suggest only temporary addresses

This commit is contained in:
Julien Fastré 2021-09-29 17:07:10 +02:00
parent dc7bcb5233
commit 0437e00dcd

View File

@ -77,13 +77,6 @@ class PersonApiController extends ApiController
$a = $participation->getAccompanyingPeriod()->getAddressLocation();
$addresses[$a->getId()] = $a;
}
if (null !== $personLocation = $participation
->getAccompanyingPeriod()->getPersonLocation()) {
$a = $personLocation->getCurrentHouseholdAddress();
if (null !== $a) {
$addresses[$a->getId()] = $a;
}
}
}
// remove the actual address