Changeset View
Changeset View
Standalone View
Standalone View
src/applications/paste/storage/PhabricatorPasteTransaction.php
| <?php | <?php | ||||
| final class PhabricatorPasteTransaction | final class PhabricatorPasteTransaction | ||||
| extends PhabricatorModularTransaction { | extends PhabricatorModularTransaction { | ||||
| const MAILTAG_CONTENT = 'paste-content'; | const MAILTAG_CONTENT = 'paste-content'; | ||||
| const MAILTAG_OTHER = 'paste-other'; | const MAILTAG_OTHER = 'paste-other'; | ||||
| const MAILTAG_COMMENT = 'paste-comment'; | const MAILTAG_COMMENT = 'paste-comment'; | ||||
| public function getApplicationName() { | public function getApplicationName() { | ||||
| return 'pastebin'; | return 'paste'; | ||||
| } | } | ||||
| public function getApplicationTransactionType() { | public function getApplicationTransactionType() { | ||||
| return PhabricatorPastePastePHIDType::TYPECONST; | return PhabricatorPastePastePHIDType::TYPECONST; | ||||
| } | } | ||||
| public function getApplicationTransactionCommentObject() { | public function getApplicationTransactionCommentObject() { | ||||
| return new PhabricatorPasteTransactionComment(); | return new PhabricatorPasteTransactionComment(); | ||||
| Show All 25 Lines | |||||