Remove usage of profile.gender

This commit is contained in:
Hypolite Petovan 2020-01-27 23:00:18 -05:00
parent a7dd0173a7
commit 8e2910976f
10 changed files with 25 additions and 201 deletions

View file

@ -137,7 +137,6 @@ class Directory extends BaseModule
$location = '';
}
$gender = (!empty($profile['gender']) ? DI::l10n()->t('Gender:') : false);
$marital = (!empty($profile['marital']) ? DI::l10n()->t('Status:') : false);
$homepage = (!empty($profile['homepage']) ? DI::l10n()->t('Homepage:') : false);
$about = (!empty($profile['about']) ? DI::l10n()->t('About:') : false);
@ -160,7 +159,6 @@ class Directory extends BaseModule
'profile' => $profile,
'location' => $location_e,
'tags' => $contact['pub_keywords'],
'gender' => $gender,
'pdesc' => $pdesc,
'marital' => $marital,
'homepage' => $homepage,