1
0
Fork 0
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:
Chad Little 2015-08-06 18:38:14 -07:00
parent 31cfdef0f7
commit 2c2eeed65d

View file

@ -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),