Page MenuHomePhabricator

D16824.diff
No OneTemporary

D16824.diff

diff --git a/src/applications/settings/setting/PhabricatorPronounSetting.php b/src/applications/settings/setting/PhabricatorPronounSetting.php
--- a/src/applications/settings/setting/PhabricatorPronounSetting.php
+++ b/src/applications/settings/setting/PhabricatorPronounSetting.php
@@ -22,7 +22,7 @@
}
public function getSettingDefaultValue() {
- return PhutilPerson::SEX_UNKNOWN;
+ return PhutilPerson::GENDER_UNKNOWN;
}
protected function getSelectOptions() {
@@ -37,9 +37,9 @@
$label_his = pht('%s updated his profile', $username);
return array(
- PhutilPerson::SEX_UNKNOWN => $label_unknown,
- PhutilPerson::SEX_MALE => $label_his,
- PhutilPerson::SEX_FEMALE => $label_her,
+ PhutilPerson::GENDER_UNKNOWN => $label_unknown,
+ PhutilPerson::GENDER_MASCULINE => $label_his,
+ PhutilPerson::GENDER_FEMININE => $label_her,
);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 10, 2:42 PM (1 w, 21 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6727228
Default Alt Text
D16824.diff (904 B)

Event Timeline