Differential D21789 Diff 51945 src/applications/settings/setting/PhabricatorEmailSelfActionsSetting.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/setting/PhabricatorEmailSelfActionsSetting.php
Show All 16 Lines | final class PhabricatorEmailSelfActionsSetting | ||||
} | } | ||||
protected function getSettingOrder() { | protected function getSettingOrder() { | ||||
return 200; | return 200; | ||||
} | } | ||||
protected function getControlInstructions() { | protected function getControlInstructions() { | ||||
return pht( | return pht( | ||||
'If you disable **Self Actions**, Phabricator will not notify '. | 'If you disable **Self Actions**, this server will not notify '. | ||||
'you about actions you take.'); | 'you about actions you take.'); | ||||
} | } | ||||
public function getSettingDefaultValue() { | public function getSettingDefaultValue() { | ||||
return self::VALUE_SEND_SELF; | return self::VALUE_SEND_SELF; | ||||
} | } | ||||
protected function getSelectOptions() { | protected function getSelectOptions() { | ||||
return array( | return array( | ||||
self::VALUE_SEND_SELF => pht('Enable Self Action Mail'), | self::VALUE_SEND_SELF => pht('Enable Self Action Mail'), | ||||
self::VALUE_NO_SELF => pht('Disable Self Action Mail'), | self::VALUE_NO_SELF => pht('Disable Self Action Mail'), | ||||
); | ); | ||||
} | } | ||||
} | } |