Differential D20669 Diff 49296 src/applications/settings/action/PhabricatorSettingsAddEmailAction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/action/PhabricatorSettingsAddEmailAction.php
| <?php | <?php | ||||
| final class PhabricatorSettingsAddEmailAction extends PhabricatorSystemAction { | final class PhabricatorSettingsAddEmailAction extends PhabricatorSystemAction { | ||||
| const TYPECONST = 'email.add'; | const TYPECONST = 'email.add'; | ||||
| public function getActionConstant() { | |||||
| return self::TYPECONST; | |||||
| } | |||||
| public function getScoreThreshold() { | public function getScoreThreshold() { | ||||
| return 6 / phutil_units('1 hour in seconds'); | return 6 / phutil_units('1 hour in seconds'); | ||||
| } | } | ||||
| public function getLimitExplanation() { | public function getLimitExplanation() { | ||||
| return pht( | return pht( | ||||
| 'You are adding too many email addresses to your account too quickly.'); | 'You are adding too many email addresses to your account too quickly.'); | ||||
| } | } | ||||
| } | } | ||||