Differential D19005 Diff 45570 src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
Show First 20 Lines • Show All 2,569 Lines • ▼ Show 20 Lines | foreach ($targets as $target) { | ||||
$caught = null; | $caught = null; | ||||
$mail = null; | $mail = null; | ||||
try { | try { | ||||
// Reload handles for the new viewer. | // Reload handles for the new viewer. | ||||
$this->loadHandles($xactions); | $this->loadHandles($xactions); | ||||
$mail = $this->buildMailForTarget($object, $xactions, $target); | $mail = $this->buildMailForTarget($object, $xactions, $target); | ||||
if ($mail) { | |||||
if ($this->mustEncrypt) { | if ($this->mustEncrypt) { | ||||
->setMustEncrypt(true) | ->setMustEncrypt(true) | ||||
->setMustEncryptReasons($this->mustEncrypt); | ->setMustEncryptReasons($this->mustEncrypt); | ||||
} | } | ||||
} | |||||
} catch (Exception $ex) { | } catch (Exception $ex) { | ||||
$caught = $ex; | $caught = $ex; | ||||
} | } | ||||
$this->setActor($original_actor); | $this->setActor($original_actor); | ||||
unset($locale); | unset($locale); | ||||
if ($caught) { | if ($caught) { | ||||
▲ Show 20 Lines • Show All 1,538 Lines • Show Last 20 Lines |