[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/settings/action/ -> PhabricatorSettingsAddEmailAction.php (source)

   1  <?php
   2  
   3  final class PhabricatorSettingsAddEmailAction extends PhabricatorSystemAction {
   4  
   5    const TYPECONST = 'email.add';
   6  
   7    public function getActionConstant() {
   8      return self::TYPECONST;
   9    }
  10  
  11    public function getScoreThreshold() {
  12      return 6 / phutil_units('1 hour in seconds');
  13    }
  14  
  15    public function getLimitExplanation() {
  16      return pht(
  17        'You are adding too many email addresses to your account too quickly.');
  18    }
  19  
  20  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1