Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14408543
D10233.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
899 B
Referenced Files
None
Subscribers
None
D10233.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D10233: Publish stories about objects in projects as related to projects
Attached
Detach File
Event Timeline
Log In to Comment