Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/storage/PhortuneAccountEmail.php
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | final class PhortuneAccountEmail | ||||
public function getExternalURI() { | public function getExternalURI() { | ||||
return urisprintf( | return urisprintf( | ||||
'/phortune/external/%s/%s/', | '/phortune/external/%s/%s/', | ||||
$this->getAddressKey(), | $this->getAddressKey(), | ||||
$this->getAccessKey()); | $this->getAccessKey()); | ||||
} | } | ||||
public function getUnsubscribeURI() { | |||||
return urisprintf( | |||||
'/phortune/external/%s/%s/unsubscribe/', | |||||
$this->getAddressKey(), | |||||
$this->getAccessKey()); | |||||
} | |||||
/* -( 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 All 34 Lines |