Changeset View
Changeset View
Standalone View
Standalone View
src/applications/paste/editor/PhabricatorPasteEditor.php
Show All 35 Lines | protected function shouldSendMail( | ||||
if ($this->getIsNewObject()) { | if ($this->getIsNewObject()) { | ||||
return false; | return false; | ||||
} | } | ||||
return true; | return true; | ||||
} | } | ||||
protected function getMailSubjectPrefix() { | protected function getMailSubjectPrefix() { | ||||
return PhabricatorEnv::getEnvConfig('metamta.paste.subject-prefix'); | return pht('[Paste]'); | ||||
} | } | ||||
protected function getMailTo(PhabricatorLiskDAO $object) { | protected function getMailTo(PhabricatorLiskDAO $object) { | ||||
return array( | return array( | ||||
$object->getAuthorPHID(), | $object->getAuthorPHID(), | ||||
$this->getActingAsPHID(), | $this->getActingAsPHID(), | ||||
); | ); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |