Page MenuHomePhabricator

D11573.diff
No OneTemporary

D11573.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
@@ -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

Mime Type
text/plain
Expires
Oct 21 2024, 10:01 AM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6723226
Default Alt Text
D11573.diff (1 KB)

Event Timeline