Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / settings / setting / PhabricatorEmailSelfActionsSetting.php
blobf910c2b039c5df6bf0c84abd28f044ce8b269862
1 <?php
3 final class PhabricatorEmailSelfActionsSetting
4 extends PhabricatorSelectSetting {
6 const SETTINGKEY = 'self-mail';
8 const VALUE_SEND_SELF = '0';
9 const VALUE_NO_SELF = '1';
11 public function getSettingName() {
12 return pht('Self Actions');
15 public function getSettingPanelKey() {
16 return PhabricatorEmailDeliverySettingsPanel::PANELKEY;
19 protected function getSettingOrder() {
20 return 200;
23 protected function getControlInstructions() {
24 return pht(
25 'If you disable **Self Actions**, Phabricator will not notify '.
26 'you about actions you take.');
29 public function getSettingDefaultValue() {
30 return self::VALUE_SEND_SELF;
33 protected function getSelectOptions() {
34 return array(
35 self::VALUE_SEND_SELF => pht('Enable Self Action Mail'),
36 self::VALUE_NO_SELF => pht('Disable Self Action Mail'),