Changeset View
Changeset View
Standalone View
Standalone View
src/applications/metamta/storage/PhabricatorMetaMTAMail.php
Show First 20 Lines • Show All 1,032 Lines • ▼ Show 20 Lines | try { | ||||
new PhabricatorMetaMTAErrorMailAction(), | new PhabricatorMetaMTAErrorMailAction(), | ||||
1); | 1); | ||||
return false; | return false; | ||||
} catch (PhabricatorSystemActionRateLimitException $ex) { | } catch (PhabricatorSystemActionRateLimitException $ex) { | ||||
return true; | return true; | ||||
} | } | ||||
} | } | ||||
public function delete() { | |||||
$this->openTransaction(); | |||||
queryfx( | |||||
$this->establishConnection('w'), | |||||
'DELETE FROM %T WHERE src = %s AND type = %d', | |||||
PhabricatorEdgeConfig::TABLE_NAME_EDGE, | |||||
$this->getPHID(), | |||||
PhabricatorMetaMTAMailHasRecipientEdgeType::EDGECONST); | |||||
$ret = parent::delete(); | |||||
$this->saveTransaction(); | |||||
return $ret; | |||||
} | |||||
/* -( PhabricatorPolicyInterface )----------------------------------------- */ | /* -( PhabricatorPolicyInterface )----------------------------------------- */ | ||||
public function getCapabilities() { | public function getCapabilities() { | ||||
return array( | return array( | ||||
PhabricatorPolicyCapability::CAN_VIEW, | PhabricatorPolicyCapability::CAN_VIEW, | ||||
); | ); | ||||
Show All 18 Lines |