backend: adapt deprecated getGenderNumeric

This commit is contained in:
2021-10-29 10:37:51 +02:00
parent 76d6a9b4df
commit 1155555bb3
2 changed files with 10 additions and 5 deletions

View File

@@ -79,7 +79,6 @@ class PersonNormalizer implements
'mobilenumber' => $person->getMobilenumber(),
'altNames' => $this->normalizeAltNames($person->getAltNames()),
'gender' => $person->getGender(),
'gender_numeric' => $person->getGenderNumeric(),
'current_household_address' => $this->normalizer->normalize($person->getCurrentHouseholdAddress()),
'current_household_id' => $household ? $this->normalizer->normalize($household->getId()) : null,
];