Page MenuHomePhabricator

D21270.diff
No OneTemporary

D21270.diff

diff --git a/src/applications/differential/mail/DifferentialChangeDetailMailView.php b/src/applications/differential/mail/DifferentialChangeDetailMailView.php
--- a/src/applications/differential/mail/DifferentialChangeDetailMailView.php
+++ b/src/applications/differential/mail/DifferentialChangeDetailMailView.php
@@ -40,11 +40,13 @@
$diff = $this->getDiff();
$engine = new PhabricatorMarkupEngine();
+ $viewstate = new PhabricatorChangesetViewState();
$out = array();
foreach ($diff->getChangesets() as $changeset) {
$parser = id(new DifferentialChangesetParser())
- ->setUser($viewer)
+ ->setViewer($viewer)
+ ->setViewState($viewstate)
->setChangeset($changeset)
->setLinesOfContext(2)
->setMarkupEngine($engine);

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 1:32 AM (7 h, 51 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6787672
Default Alt Text
D21270.diff (801 B)

Event Timeline