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() {
23 protected function getControlInstructions() {
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() {
35 self
::VALUE_SEND_SELF
=> pht('Enable Self Action Mail'),
36 self
::VALUE_NO_SELF
=> pht('Disable Self Action Mail'),