@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix bad "$this" references in "Must Encrypt" mail after MailEngine changes

Summary: See PHI1038. I missed these when pulling the code out.

Test Plan: Sent "Must encrypt" mail, verified it made it through the queue in one piece.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D20029

+3 -3
+3 -3
src/applications/metamta/engine/PhabricatorMailEmailEngine.php
··· 90 90 if ($must_encrypt) { 91 91 $parts = array(); 92 92 93 - $encrypt_uri = $this->getMustEncryptURI(); 93 + $encrypt_uri = $mail->getMustEncryptURI(); 94 94 if (!strlen($encrypt_uri)) { 95 - $encrypt_phid = $this->getRelatedPHID(); 95 + $encrypt_phid = $mail->getRelatedPHID(); 96 96 if ($encrypt_phid) { 97 97 $encrypt_uri = urisprintf( 98 98 '/object/%s/', ··· 111 111 'secure channel. To view the message content, follow this '. 112 112 'link:'); 113 113 114 - $parts[] = PhabricatorEnv::getProductionURI($this->getURI()); 114 + $parts[] = PhabricatorEnv::getProductionURI($mail->getURI()); 115 115 116 116 $body = implode("\n\n", $parts); 117 117 } else {