mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +01:00
Fix Paste transactions
Summary: We're using the wrong constants here, bad copy and paste job. Test Plan: Archive a Paste, check transactions. Reviewers: Subscribers:
This commit is contained in:
parent
31cfdef0f7
commit
2c2eeed65d
1 changed files with 2 additions and 2 deletions
|
@ -137,12 +137,12 @@ final class PhabricatorPasteTransaction
|
||||||
break;
|
break;
|
||||||
case self::TYPE_STATUS:
|
case self::TYPE_STATUS:
|
||||||
switch ($new) {
|
switch ($new) {
|
||||||
case self::STATUS_OPEN:
|
case PhabricatorPaste::STATUS_ACTIVE:
|
||||||
return pht(
|
return pht(
|
||||||
'%s activated %s.',
|
'%s activated %s.',
|
||||||
$this->renderHandleLink($author_phid),
|
$this->renderHandleLink($author_phid),
|
||||||
$this->renderHandleLink($object_phid));
|
$this->renderHandleLink($object_phid));
|
||||||
case self::STATUS_CLOSED:
|
case PhabricatorPaste::STATUS_ARCHIVED:
|
||||||
return pht(
|
return pht(
|
||||||
'%s archived %s.',
|
'%s archived %s.',
|
||||||
$this->renderHandleLink($author_phid),
|
$this->renderHandleLink($author_phid),
|
||||||
|
|
Loading…
Reference in a new issue