Page MenuHomePhabricator

D10233.id24622.diff
No OneTemporary

D10233.id24622.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;
}
@@ -2148,6 +2159,9 @@
}
$related_phids = $this->getFeedRelatedPHIDs($object, $xactions);
+
+ var_dump($related_phids);
+
$subscribed_phids = $this->getFeedNotifyPHIDs($object, $xactions);
$story_type = $this->getFeedStoryType();

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 3:28 PM (19 h, 44 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7023113
Default Alt Text
D10233.id24622.diff (1 KB)

Event Timeline