X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FContactSelector.php;h=64a2b5be9e4f4b92182a1f277a5408c88f27e6b2;hb=8e2910976f126ee7c728ba4716f317ac496f377b;hp=a9c6bc269d9e80d7eac96322a93ec0ddca588022;hpb=a7dd0173a735291bee4d57bb3d9adcf064feb34d;p=friendica.git diff --git a/src/Content/ContactSelector.php b/src/Content/ContactSelector.php index a9c6bc269d..64a2b5be9e 100644 --- a/src/Content/ContactSelector.php +++ b/src/Content/ContactSelector.php @@ -196,46 +196,6 @@ class ContactSelector return $network_icon; } - /** - * @param string $current optional, default empty - * @param string $suffix optionsl, default empty - * @return string - * @throws \Friendica\Network\HTTPException\InternalServerErrorException - */ - public static function gender($current = "", $suffix = "") - { - $o = ''; - $select = [ - '' => DI::l10n()->t('No answer'), - 'Male' => DI::l10n()->t('Male'), - 'Female' => DI::l10n()->t('Female'), - 'Currently Male' => DI::l10n()->t('Currently Male'), - 'Currently Female' => DI::l10n()->t('Currently Female'), - 'Mostly Male' => DI::l10n()->t('Mostly Male'), - 'Mostly Female' => DI::l10n()->t('Mostly Female'), - 'Transgender' => DI::l10n()->t('Transgender'), - 'Intersex' => DI::l10n()->t('Intersex'), - 'Transsexual' => DI::l10n()->t('Transsexual'), - 'Hermaphrodite' => DI::l10n()->t('Hermaphrodite'), - 'Neuter' => DI::l10n()->t('Neuter'), - 'Non-specific' => DI::l10n()->t('Non-specific'), - 'Other' => DI::l10n()->t('Other'), - 'Undecided' => DI::l10n()->t('Undecided'), - ]; - - Hook::callAll('gender_selector', $select); - - $o .= "'; - return $o; - } - /** * @param string $current optional, default empty * @param string $suffix optionsl, default empty