Page MenuHomePhabricator

D13245.diff
No OneTemporary

D13245.diff

diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
--- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
+++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
@@ -936,14 +936,16 @@
$object,
$herald_xactions);
- $adapter = $this->getHeraldAdapter();
- $this->heraldEmailPHIDs = $adapter->getEmailPHIDs();
- $this->heraldForcedEmailPHIDs = $adapter->getForcedEmailPHIDs();
-
// Merge the new transactions into the transaction list: we want to
// send email and publish feed stories about them, too.
$xactions = array_merge($xactions, $herald_xactions);
}
+
+ // If Herald did not generate transactions, we may still need to handle
+ // "Send an Email" rules.
+ $adapter = $this->getHeraldAdapter();
+ $this->heraldEmailPHIDs = $adapter->getEmailPHIDs();
+ $this->heraldForcedEmailPHIDs = $adapter->getForcedEmailPHIDs();
}
$this->didApplyTransactions($xactions);

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 19, 10:19 AM (5 d, 7 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7634523
Default Alt Text
D13245.diff (1 KB)

Event Timeline