Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13988697
D11573.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11573.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
@@ -1242,25 +1242,6 @@
return $block_xactions;
}
- if ($object instanceof PhabricatorProjectInterface) {
- $phids = $mentioned_phids;
- $project_type = PhabricatorProjectProjectPHIDType::TYPECONST;
- foreach ($phids as $key => $phid) {
- if (phid_get_type($phid) != $project_type) {
- unset($phids[$key]);
- }
- }
-
- if ($phids) {
- $edge_type = PhabricatorProjectObjectHasProjectEdgeType::EDGECONST;
- $block_xactions[] = newv(get_class(head($xactions)), array())
- ->setIgnoreOnNoEffect(true)
- ->setTransactionType(PhabricatorTransactions::TYPE_EDGE)
- ->setMetadataValue('edge:type', $edge_type)
- ->setNewValue(array('+' => $phids));
- }
- }
-
$mentioned_objects = id(new PhabricatorObjectQuery())
->setViewer($this->getActor())
->withPHIDs($mentioned_phids)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 22, 3:21 PM (4 w, 22 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6723226
Default Alt Text
D11573.diff (1 KB)
Attached To
Mode
D11573: Projects - stop automagically associating projects when they are mentioned
Attached
Detach File
Event Timeline
Log In to Comment