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

Temporarily disable transaction story links in HTML mail for the deploy

Ref T12921. See that task for discussion. Behavioral revert of D19968.
This commit is contained in:
epriestley 2019-01-19 05:10:02 -08:00
parent e6ca2b998f
commit 755c40221d

View file

@ -785,7 +785,11 @@ abstract class PhabricatorApplicationTransaction
}
public function getTitleForHTMLMail() {
$title = $this->getTitleForMailWithRenderingTarget(self::TARGET_HTML);
// TODO: For now, rendering this with TARGET_HTML generates links with
// bad targets ("/x/y/" instead of "https://dev.example.com/x/y/"). Throw
// a rug over the issue for the moment. See T12921.
$title = $this->getTitleForMailWithRenderingTarget(self::TARGET_TEXT);
if ($title === null) {
return null;
}