Page MenuHomePhabricator

D10233.diff
No OneTemporary

D10233.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
@@ -2096,10 +2096,21 @@
PhabricatorLiskDAO $object,
array $xactions) {
- return array(
+ $phids = array(
$object->getPHID(),
$this->getActingAsPHID(),
);
+
+ if ($object instanceof PhabricatorProjectInterface) {
+ $project_phids = PhabricatorEdgeQuery::loadDestinationPHIDs(
+ $object->getPHID(),
+ PhabricatorProjectObjectHasProjectEdgeType::EDGECONST);
+ foreach ($project_phids as $project_phid) {
+ $phids[] = $project_phid;
+ }
+ }
+
+ return $phids;
}

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 4:52 AM (3 h, 44 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6925039
Default Alt Text
D10233.diff (899 B)

Event Timeline