mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Don't show "View Raw" for removed comments
Summary: Fixes T7232. Test Plan: Saw "View Raw" gone for removed comment, still present and functional for non-removed comment. Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T7232 Differential Revision: https://secure.phabricator.com/D11926
This commit is contained in:
parent
bb6eb9bfcf
commit
c99d84793b
1 changed files with 3 additions and 1 deletions
|
@ -462,7 +462,9 @@ class PhabricatorApplicationTransactionView extends AphrontView {
|
||||||
$event->setIsEdited(true);
|
$event->setIsEdited(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!$has_removed_comment) {
|
||||||
$event->setIsNormalComment(true);
|
$event->setIsNormalComment(true);
|
||||||
|
}
|
||||||
|
|
||||||
// If we have a place for quoted text to go and this is a quotable
|
// If we have a place for quoted text to go and this is a quotable
|
||||||
// comment, pass the quote target ID to the event view.
|
// comment, pass the quote target ID to the event view.
|
||||||
|
|
Loading…
Reference in a new issue