1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Don't try to render RevisionRefs since they haven't been brought over yet.

Summary:

Test Plan:

Reviewers:

CC:
This commit is contained in:
epriestley 2011-02-09 12:47:41 -08:00
parent 539b245055
commit 9eccb3e23d

View file

@ -102,10 +102,15 @@ class DifferentialCommentMail extends DifferentialMail {
$body[] = $this->renderRevisionDetailLink(); $body[] = $this->renderRevisionDetailLink();
$revision = $this->getRevision(); $revision = $this->getRevision();
if ($revision->getStatus() == DifferentialRevisionStatus::COMMITTED) { if ($revision->getStatus() == DifferentialRevisionStatus::COMMITTED) {
/*
TODO
$rev_ref = $revision->getRevisionRef(); $rev_ref = $revision->getRevisionRef();
if ($rev_ref) { if ($rev_ref) {
$body[] = " Detail URL: ".$rev_ref->getDetailURL(); $body[] = " Detail URL: ".$rev_ref->getDetailURL();
} }
*/
} }
$body[] = null; $body[] = null;