Differential D20121 Diff 48057 src/applications/oauthserver/storage/PhabricatorOAuthServerTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/oauthserver/storage/PhabricatorOAuthServerTransaction.php
Show All 13 Lines | final class PhabricatorOAuthServerTransaction | ||||
public function getTableName() { | public function getTableName() { | ||||
return 'oauth_server_transaction'; | return 'oauth_server_transaction'; | ||||
} | } | ||||
public function getApplicationTransactionType() { | public function getApplicationTransactionType() { | ||||
return PhabricatorOAuthServerClientPHIDType::TYPECONST; | return PhabricatorOAuthServerClientPHIDType::TYPECONST; | ||||
} | } | ||||
public function getApplicationTransactionCommentObject() { | |||||
return null; | |||||
} | |||||
public function getTitle() { | public function getTitle() { | ||||
$author_phid = $this->getAuthorPHID(); | $author_phid = $this->getAuthorPHID(); | ||||
$old = $this->getOldValue(); | $old = $this->getOldValue(); | ||||
$new = $this->getNewValue(); | $new = $this->getNewValue(); | ||||
switch ($this->getTransactionType()) { | switch ($this->getTransactionType()) { | ||||
case PhabricatorTransactions::TYPE_CREATE: | case PhabricatorTransactions::TYPE_CREATE: | ||||
return pht( | return pht( | ||||
Show All 30 Lines |