Differential D19948 Diff 47640 src/applications/metamta/storage/PhabricatorMetaMTAApplicationEmail.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/metamta/storage/PhabricatorMetaMTAApplicationEmail.php
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | if ($application) { | ||||
$message = pht( | $message = pht( | ||||
'The address %s is configured to be used by an application.', | 'The address %s is configured to be used by an application.', | ||||
$this->getAddress()); | $this->getAddress()); | ||||
} | } | ||||
return $message; | return $message; | ||||
} | } | ||||
public function newAddress() { | |||||
return new PhutilEmailAddress($this->getAddress()); | |||||
} | |||||
/* -( PhabricatorPolicyInterface )----------------------------------------- */ | /* -( PhabricatorPolicyInterface )----------------------------------------- */ | ||||
public function getCapabilities() { | public function getCapabilities() { | ||||
return array( | return array( | ||||
PhabricatorPolicyCapability::CAN_VIEW, | PhabricatorPolicyCapability::CAN_VIEW, | ||||
PhabricatorPolicyCapability::CAN_EDIT, | PhabricatorPolicyCapability::CAN_EDIT, | ||||
); | ); | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |