mirror of
https://github.com/friendica/friendica
synced 2025-04-26 16:30:12 +00:00
Remove uses of profile.marital
This commit is contained in:
parent
8e2910976f
commit
e69497454b
9 changed files with 1 additions and 81 deletions
|
@ -370,7 +370,6 @@ class Profile
|
|||
}
|
||||
|
||||
$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;
|
||||
$xmpp = !empty($profile['xmpp']) ? DI::l10n()->t('XMPP:') : false;
|
||||
|
@ -449,10 +448,6 @@ class Profile
|
|||
$p['gender'] = DI::l10n()->t($p['gender']);
|
||||
}
|
||||
|
||||
if (isset($p['marital'])) {
|
||||
$p['marital'] = DI::l10n()->t($p['marital']);
|
||||
}
|
||||
|
||||
if (isset($p['photo'])) {
|
||||
$p['photo'] = ProxyUtils::proxifyUrl($p['photo'], false, ProxyUtils::SIZE_SMALL);
|
||||
}
|
||||
|
@ -474,7 +469,6 @@ class Profile
|
|||
'$account_type' => $account_type,
|
||||
'$location' => $location,
|
||||
'$gender' => $gender,
|
||||
'$marital' => $marital,
|
||||
'$homepage' => $homepage,
|
||||
'$about' => $about,
|
||||
'$network' => DI::l10n()->t('Network:'),
|
||||
|
@ -919,7 +913,6 @@ class Profile
|
|||
(`profile`.`locality` LIKE ?) OR
|
||||
(`profile`.`region` LIKE ?) OR
|
||||
(`profile`.`country-name` LIKE ?) OR
|
||||
(`profile`.`marital` LIKE ?) OR
|
||||
(`profile`.`sexual` LIKE ?) OR
|
||||
(`profile`.`about` LIKE ?) OR
|
||||
(`profile`.`romance` LIKE ?) OR
|
||||
|
@ -960,7 +953,6 @@ class Profile
|
|||
(`profile`.`locality` LIKE ?) OR
|
||||
(`profile`.`region` LIKE ?) OR
|
||||
(`profile`.`country-name` LIKE ?) OR
|
||||
(`profile`.`marital` LIKE ?) OR
|
||||
(`profile`.`sexual` LIKE ?) OR
|
||||
(`profile`.`about` LIKE ?) OR
|
||||
(`profile`.`romance` LIKE ?) OR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue