Differential D21216 Diff 50529 src/applications/differential/controller/DifferentialChangesetViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/controller/DifferentialChangesetViewController.php
Show First 20 Lines • Show All 191 Lines • ▼ Show 20 Lines | if ($left && $right) { | ||||
$parser->setOriginals($left, $right); | $parser->setOriginals($left, $right); | ||||
} | } | ||||
// Load both left-side and right-side inline comments. | // Load both left-side and right-side inline comments. | ||||
if ($revision) { | if ($revision) { | ||||
$query = id(new DifferentialInlineCommentQuery()) | $query = id(new DifferentialInlineCommentQuery()) | ||||
->setViewer($viewer) | ->setViewer($viewer) | ||||
->needHidden(true) | ->needHidden(true) | ||||
->withEmptyInlineComments(false) | |||||
->withRevisionPHIDs(array($revision->getPHID())); | ->withRevisionPHIDs(array($revision->getPHID())); | ||||
$inlines = $query->execute(); | $inlines = $query->execute(); | ||||
$inlines = $query->adjustInlinesForChangesets( | $inlines = $query->adjustInlinesForChangesets( | ||||
$inlines, | $inlines, | ||||
$old, | $old, | ||||
$new, | $new, | ||||
$revision); | $revision); | ||||
} else { | } else { | ||||
▲ Show 20 Lines • Show All 252 Lines • Show Last 20 Lines |