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:
@@ -462,7 +462,9 @@ class PhabricatorApplicationTransactionView extends AphrontView {
|
||||
$event->setIsEdited(true);
|
||||
}
|
||||
|
||||
$event->setIsNormalComment(true);
|
||||
if (!$has_removed_comment) {
|
||||
$event->setIsNormalComment(true);
|
||||
}
|
||||
|
||||
// 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.
|
||||
|
||||
Reference in New Issue
Block a user