mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 22:40:55 +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;
|
||||
case self::TYPE_STATUS:
|
||||
switch ($new) {
|
||||
case self::STATUS_OPEN:
|
||||
case PhabricatorPaste::STATUS_ACTIVE:
|
||||
return pht(
|
||||
'%s activated %s.',
|
||||
$this->renderHandleLink($author_phid),
|
||||
$this->renderHandleLink($object_phid));
|
||||
case self::STATUS_CLOSED:
|
||||
case PhabricatorPaste::STATUS_ARCHIVED:
|
||||
return pht(
|
||||
'%s archived %s.',
|
||||
$this->renderHandleLink($author_phid),
|
||||
|
|
Loading…
Reference in a new issue