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:
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user