Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/storage/PhabricatorConfigTransaction.php
<?php | <?php | ||||
final class PhabricatorConfigTransaction | final class PhabricatorConfigTransaction | ||||
extends PhabricatorApplicationTransaction { | extends PhabricatorApplicationTransaction { | ||||
const TYPE_EDIT = 'config:edit'; | const TYPE_EDIT = 'config:edit'; | ||||
public function getApplicationName() { | public function getApplicationName() { | ||||
return 'config'; | return 'config'; | ||||
} | } | ||||
public function getApplicationTransactionType() { | public function getApplicationTransactionType() { | ||||
return PhabricatorConfigConfigPHIDType::TYPECONST; | return PhabricatorConfigConfigPHIDType::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 self::TYPE_EDIT: | case self::TYPE_EDIT: | ||||
▲ Show 20 Lines • Show All 129 Lines • Show Last 20 Lines |